CREATE TABLE table_66244 ("Debut year" FLOAT, "Player" CLOB, "Games" FLOAT, "Goals" FLOAT, "Years at club" CLOB)

Which Games have Years at club of 1977, and Goals of 17, and a Debut year smaller than 1977?
SELECT AVG("Games") FROM table_66244 WHERE "Years at club" = '1977' AND "Goals" = '17' AND "Debut year" < '1977'
SELECT AVG("Games") FROM "table_66244" WHERE "Debut year" < '1977' AND "Goals" = '17' AND "Years at club" = '1977'