CREATE TABLE table_name_40 (points INTEGER, lost VARCHAR(255), played VARCHAR(255))
What is the total number of points where there were 3 losses and a played number bigger than 12?
    
SQL: SELECT SUM(points) FROM table_name_40 WHERE lost = 3 AND played > 12