What is the maximum, minimum and average years spent working on a school bus?
CREATE TABLE school_bus (years_working INTEGER)
SELECT MAX(years_working), MIN(years_working), AVG(years_working) FROM school_bus
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE school_bus (years_working INTEGER) Question: What is the maximum, minimum and average years spent working on a school bus? [/INST] SELECT MAX(years_working), MIN(years_working), AVG(years_working) FROM school_bus </s>