What is the award for the Star Awards earlier than 2005 and the result is won?
CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR)
SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR) Question: What is the award for the Star Awards earlier than 2005 and the result is won? [/INST] SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won" </s>