James Hutchins Johnson, from New Hampshire, served during what years?
CREATE TABLE table_name_40 (years VARCHAR, state VARCHAR, representative VARCHAR)
SELECT years FROM table_name_40 WHERE state = "new hampshire" AND representative = "james hutchins johnson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (years VARCHAR, state VARCHAR, representative VARCHAR) Question: James Hutchins Johnson, from New Hampshire, served during what years? [/INST] SELECT years FROM table_name_40 WHERE state = "new hampshire" AND representative = "james hutchins johnson" </s>