What's the total attendance in rink hockey when the average attendance was smaller than 4850?
CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR)
SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR) Question: What's the total attendance in rink hockey when the average attendance was smaller than 4850? [/INST] SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey" </s>