Diga-me a média de vitórias para a classe de 50cc e o ranking de 8o
CREATE TABLE table_name_47 (wins INTEGER, class VARCHAR, rank VARCHAR)
SELECT AVG(wins) FROM table_name_47 WHERE class = "50cc" AND rank = "8th"