CREATE TABLE table_31898 ("Rank" FLOAT, "Name" TEXT, "Team" TEXT, "Goals" FLOAT, "Appearances" FLOAT)

What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
SELECT SUM("Rank") FROM table_31898 WHERE "Name" = 'fernando cavenaghi' AND "Appearances" < '7'
SELECT SUM("Rank") FROM "table_31898" WHERE "Appearances" < '7' AND "Name" = 'fernando cavenaghi'