question: Who scored the lowest with 8 gold medals and less than 4 silver medals?
answer: SELECT MIN(total) FROM table_name_40 WHERE gold = 8 AND silver < 4
context: CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, silver VARCHAR)