What year did deputy prime minister Mariano Rajoy Brey take office?
CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR)
SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR) Question: What year did deputy prime minister Mariano Rajoy Brey take office? [/INST] SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey" </s>