How many districts does riley joseph wilson?
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR) Question: How many districts does riley joseph wilson? [/INST] SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson" </s>