How many 180s have legs won of 45?
CREATE TABLE "statistics" (
  "player" text,
  "played" real,
  "legs_won" real,
  "legs_lost" real,
  "lwat" real,
  "100" real,
  "140" real,
  "180s" real,
  "high_checkout" real,
  "3_dart_average" text
);
SELECT MAX("180s") FROM "statistics" WHERE "legs_won"=45;