CREATE TABLE "ethnicities_by_region" (
  "state" text,
  "white_pct" real,
  "brown_pct" real,
  "black_pct" real,
  "asian_or_amerindian_pct" real
);

Question: What is the sum of White (%), when Black (%) is less than 5,8, and when Asian or Amerindian (%) is less than 0,2?
SQL: SELECT SUM("white_pct") FROM "ethnicities_by_region" WHERE "black_pct"<'5,8' AND "asian_or_amerindian_pct"<'0,2';

Question: What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
SQL: SELECT SUM("asian_or_amerindian_pct") FROM "ethnicities_by_region" WHERE "state"='sergipe' AND "brown_pct">'61,3';

Question: What is the total number of White (%), when Brown (%) is less than 54,6, when Asian or Amerindian (%) is greater than 1,3, and when Black (%) is less than 5,3?
SQL: SELECT COUNT("white_pct") FROM "ethnicities_by_region" WHERE "brown_pct"<'54,6' AND "asian_or_amerindian_pct">'1,3' AND "black_pct"<'5,3';

Question: What is the sum of Asian or Amerindian (%), when Black (%) is 9,7, and when White (%) is greater than 45,7?
SQL: SELECT SUM("asian_or_amerindian_pct") FROM "ethnicities_by_region" WHERE "black_pct"='9,7' AND "white_pct">'45,7';