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_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
  ### Question:
  What was Scott Riggs points when he had more than 400 laps?
  ### Answer:
  SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400