Context: CREATE TABLE table_name_22 (year INTEGER, pts INTEGER)
Question: What is the latesr year that has more points than 0?
Answer: SELECT MAX(year) FROM table_name_22 WHERE pts > 0