human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Team, 1982, 1983, 1984, Total points, Seasons, Points average
###Question: What is the number of seasons for the team with a total fewer than 24?
gpt
SELECT SUM Seasons FROM table WHERE Total points < 24