CREATE TABLE "standings" (
  "locale" text,
  "skip" text,
  "w" real,
  "l" real,
  "pf" real,
  "pa" real,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);

Question: What was the top ends lost where the ends won 47?
SQL: SELECT MAX("ends_lost") FROM "standings" WHERE "ends_won"=47;

Question: What was the location when the stolen ends is 12 and shot pct is 77%?
SQL: SELECT "locale" FROM "standings" WHERE "stolen_ends"=12 AND "shot_pct"='77%';

Question: How many stolen ends were there when the locale was Sweden?
SQL: SELECT "stolen_ends" FROM "standings" WHERE "locale"='Sweden';