human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Club, Season, Goals, Apps
###Question: Who was the club having less than 22 apps and ranked less than 2?
gpt
SELECT Club FROM table WHERE Apps < 22 AND Rank < 2