CREATE TABLE table_name_97 (total INT, rank VARCHAR, bronze VARCHAR, silver VARCHAR)

What is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?
SELECT MIN(total) FROM table_name_97 WHERE bronze > 0 AND silver = 6 AND rank < 3
SELECT MIN("total") FROM "table_name_97" WHERE "bronze" > 0 AND "rank" < 3 AND "silver" = 6