What is the average time span of contact channels in the database?
CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR)
SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR) Question: What is the average time span of contact channels in the database? [/INST] SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels </s>