CREATE TABLE table_name_99 (gold NUMBER, bronze VARCHAR2, silver VARCHAR2, total VARCHAR2)

What is the average number of gold medals won among participants that won less than 13 silver, less than 8 bronze, and more than 18 medals overall?
SELECT AVG(gold) FROM table_name_99 WHERE silver < 13 AND total > 18 AND bronze < 8
SELECT AVG("gold") FROM "table_name_99" WHERE "bronze" < 8 AND "silver" < 13 AND "total" > 18