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