CREATE TABLE table_31791 ("Rank" FLOAT, "Nation" TEXT, "Gold" FLOAT, "Silver" FLOAT, "Bronze" FLOAT, "Total" FLOAT)

What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
SELECT SUM("Total") FROM table_31791 WHERE "Rank" > '6' AND "Gold" > '0' AND "Silver" = '2'
SELECT SUM("Total") FROM "table_31791" WHERE "Gold" > '0' AND "Rank" > '6' AND "Silver" = '2'