CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: What is the total medals Austria and those with larger than rank 4 have?
SQL: SELECT COUNT("total") FROM "medal_table" WHERE "nation"='austria' AND "rank">4;

Question: What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have?
SQL: SELECT MAX("gold") FROM "medal_table" WHERE "rank"<6 AND "silver"=1 AND "total">4;