What was the earliest week the team played the chicago cardinals in front of less than 25,312?
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR) Question: What was the earliest week the team played the chicago cardinals in front of less than 25,312? [/INST] SELECT MIN(week) FROM table_name_12 WHERE opponent = "chicago cardinals" AND attendance < 25 OFFSET 312 ROWS </s>