Which athlete performed before 1984 in an 800 m event?
CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR)
SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR) Question: Which athlete performed before 1984 in an 800 m event? [/INST] SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m" </s>