Nomeia o maior total com média inferior a 36,5 e classifica-o com média de 14
CREATE TABLE table_name_39 (total INTEGER, average VARCHAR, rank_by_average VARCHAR)
SELECT MAX(total) FROM table_name_39 WHERE average < 36.5 AND rank_by_average = 14