Context: CREATE TABLE table_name_51 (total INTEGER, tour VARCHAR, giro VARCHAR)
Question: The sun of total that has a tour of 7 and a Giro smaller than 3 is 12.
Answer: SELECT SUM(total) FROM table_name_51 WHERE tour = 7 AND giro < 3