CREATE TABLE "lpga_tour_record" (
  "year" real,
  "wins" real,
  "earnings" text,
  "rank" real,
  "scoring_average" real
);

Question: What is the scoring average where the wins are 0?
SQL: SELECT COUNT("scoring_average") FROM "lpga_tour_record" WHERE "wins"<0;

Question: What year has earnings of $557,158?
SQL: SELECT MAX("year") FROM "lpga_tour_record" WHERE "earnings"='557,158';