CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR)

Which athlete performed before 1984 in an 800 m event?
SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m"
SELECT "athlete" FROM "table_name_40" WHERE "800 m" = "event" AND "year" < 1984