human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank, Nation, Gold, Silver, Bronze, Total
###Question: Which Rank number has a Silver of 0, Gold of 2 and total smaller than 2?
gpt
SELECT COUNT Rank FROM table WHERE Silver = 0 AND Gold = 2 AND Total < 2