What are all the states (class) when the successor was Joseph Anderson ( DR )?
CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR)
SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR) Question: What are all the states (class) when the successor was Joseph Anderson ( DR )? [/INST] SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )" </s>