How many points have 500cc for the class, a win greater than 0, with a year after 1974?
CREATE TABLE table_name_77 (
    points INTEGER,
    year VARCHAR,
    class VARCHAR,
    wins VARCHAR
)
SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: How many points have 500cc for the class, a win greater than 0, with a year after 1974? ### Input: CREATE TABLE table_name_77 (
    points INTEGER,
    year VARCHAR,
    class VARCHAR,
    wins VARCHAR
) ### Response: SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974