Name the minister for end date of 31 july 2004
CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR)
SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR) Question: Name the minister for end date of 31 july 2004 [/INST] SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004" </s>