What are the average and maximum number of tickets bought in all visits?
CREATE TABLE visit (num_of_ticket INTEGER)
SELECT AVG(num_of_ticket), MAX(num_of_ticket) FROM visit
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE visit (num_of_ticket INTEGER) Question: What are the average and maximum number of tickets bought in all visits? [/INST] SELECT AVG(num_of_ticket), MAX(num_of_ticket) FROM visit </s>