Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.
CREATE TABLE exhibition (ticket_price INTEGER, YEAR INTEGER)
SELECT AVG(ticket_price), MIN(ticket_price), MAX(ticket_price) FROM exhibition WHERE YEAR < 2009
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE exhibition (ticket_price INTEGER, YEAR INTEGER) Question: Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009. [/INST] SELECT AVG(ticket_price), MIN(ticket_price), MAX(ticket_price) FROM exhibition WHERE YEAR < 2009 </s>