Instruct: What was the year of the finish with the class pos of 6th and laps smaller than 317?
Output: SELECT SUM Year FROM table WHERE Class Pos. = 6th AND Laps < 317