CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)

What is the date for a week before 9, and a opponent of dallas cowboys?
SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys"
SELECT "date" FROM "table_name_18" WHERE "dallas cowboys" = "opponent" AND "week" < 9