What is the engine for the bmw motorsport entrant with 123 points before 2004?
CREATE TABLE table_name_57 (engine VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (engine VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR) Question: What is the engine for the bmw motorsport entrant with 123 points before 2004? [/INST] SELECT engine FROM table_name_57 WHERE year < 2004 AND entrant = "bmw motorsport" AND points = 123 </s>