CREATE TABLE "plaid_cymru_targets" (
  "rank" real,
  "constituency" text,
  "winning_party_2007" text,
  "swing_to_gain" real,
  "pc_s_place_2007" text,
  "result" text
);

Question: What rank was caerphilly with a Swing smaller than 6.92?
SQL: SELECT COUNT("rank") FROM "plaid_cymru_targets" WHERE "swing_to_gain"<6.92 AND "constituency"='caerphilly';

Question: What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5?
SQL: SELECT SUM("swing_to_gain") FROM "plaid_cymru_targets" WHERE "winning_party_2007"='conservative' AND "rank"<5;