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

How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes?
SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7"
SELECT AVG("total") FROM "table_name_56" WHERE "7" = "rank" AND "bronze" < 4 AND "silver" = 1