CREATE TABLE "marine_ecozones" (
  "ecozone" text,
  "area_km_territorial_waters" real,
  "area_km_exclusive_economic_zone" real,
  "percentage_of_total_area_for_eez" real,
  "percentage_of_marine_area_for_eez" real
);

Question: What is the sum of percentage of marine area with an area of territorial waters of 72,144 and exclusive economic zone area less than 996,439?
SQL: SELECT SUM("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "area_km_territorial_waters"='72,144' AND "area_km_exclusive_economic_zone"<'996,439';

Question: What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1?
SQL: SELECT MIN("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "ecozone"='pacific marine' AND "percentage_of_total_area_for_eez">3.1;

Question: How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439?
SQL: SELECT COUNT("percentage_of_marine_area_for_eez") FROM "marine_ecozones" WHERE "ecozone"='atlantic marine' AND "area_km_exclusive_economic_zone"<'996,439';

Question: What is the average percentage of total area when the percentage of marine area is more than 39.3 and territorial waters area is less than 2,788,349?
SQL: SELECT AVG("percentage_of_total_area_for_eez") FROM "marine_ecozones" WHERE "percentage_of_marine_area_for_eez">39.3 AND "area_km_territorial_waters"<'2,788,349';

Question: What is the smallest area of territorial waters with an exclusive economic zone area more than 704,849 and a percentage of total area greater than 6.8?
SQL: SELECT MIN("area_km_territorial_waters") FROM "marine_ecozones" WHERE "area_km_exclusive_economic_zone">'704,849' AND "percentage_of_total_area_for_eez">6.8;