text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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