CREATE TABLE table_name_87 (average INT, highest VARCHAR)

What is the highest average number in attendance when the most in attendance is 5,078?
SELECT MAX(average) FROM table_name_87 WHERE highest = 5 OFFSET 078
SELECT MAX("average") FROM "table_name_87" WHERE "highest" = 5 OFFSET 078