Context: CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR)
Question: What is the total qual where the grid number is 24?
Answer: SELECT SUM(qual) FROM table_name_57 WHERE grid = 24