What is the total qual where the grid number is 24?
CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR)
SELECT SUM(qual) FROM table_name_57 WHERE grid = 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR) Question: What is the total qual where the grid number is 24? [/INST] SELECT SUM(qual) FROM table_name_57 WHERE grid = 24 </s>