Schema: CREATE TABLE table_name_12 (minister VARCHAR, end_date VARCHAR)
Question: Name the minister for end date of 31 july 2004
SQL: SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"