What was Scott Riggs points when he had more than 400 laps?
CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR) Question: What was Scott Riggs points when he had more than 400 laps? [/INST] SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400 </s>