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: What is the maximum number of silvers for a country with fewer than 12 golds and a total less than 8?
gpt
SELECT MAX Silver FROM table WHERE Gold < 12 AND Total < 8