CREATE TABLE table_name_57 (engine VARCHAR2, points VARCHAR2, year VARCHAR2, entrant VARCHAR2)

What is the engine for the bmw motorsport entrant with 123 points before 2004?
SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123
SELECT "engine" FROM "table_name_57" WHERE "bmw motorsport" = "entrant" AND "points" = 123 AND "year" < 2004