What is the average wins when teams is lions and the percent is more than 0?
CREATE TABLE "quarterbacks_sorted_by_win_percentage" (
  "quarterback" text,
  "games" real,
  "teams" text,
  "wins" real,
  "losses" real,
  "percent" real
);
SELECT AVG("wins") FROM "quarterbacks_sorted_by_win_percentage" WHERE "teams"='lions' AND "percent">0;