CREATE TABLE "southeast_asian_games" (
  "country" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand?
SQL: SELECT SUM("total") FROM "southeast_asian_games" WHERE "bronze">12 AND "silver">772 AND "country"='thailand';

Question: Which Gold has a Total of 2998, and a Bronze smaller than 1191?
SQL: SELECT AVG("gold") FROM "southeast_asian_games" WHERE "total"=2998 AND "bronze"<1191;

Question: Which Bronze has a Country of malaysia, and a Total smaller than 2644?
SQL: SELECT SUM("bronze") FROM "southeast_asian_games" WHERE "country"='malaysia' AND "total"<2644;

Question: Which Silver has a Bronze smaller than 618, and a Country of laos?
SQL: SELECT "silver" FROM "southeast_asian_games" WHERE "bronze"<618 AND "country"='laos';