CREATE TABLE "performances" (
  "week" real,
  "partner" text,
  "dance" text,
  "song" text,
  "result" text
);

Question: What week was she safe for a salsa dance?
SQL: SELECT SUM("week") FROM "performances" WHERE "result"='safe' AND "dance"='salsa';