CREATE TABLE table_name_65 (total_horses NUMBER, cows VARCHAR2, bulls VARCHAR2, total_cattle VARCHAR2, oxen VARCHAR2)

What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?
SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = "40.0" AND cows < 3377
SELECT MIN("total_horses") FROM "table_name_65" WHERE "40.0" = "bulls" AND "cows" < 3377 AND "oxen" < 156.5 AND "total_cattle" < 6274.1