What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?
CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR)
SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR) Question: What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative? [/INST] SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn" </s>