CREATE TABLE table_name_39 (ansi_code INT, township VARCHAR, water__sqmi_ VARCHAR)

What is the average ANSI code for the town of Sherman and the smaller of the water area in square miles than 0.005?
SELECT AVG(ansi_code) FROM table_name_39 WHERE township = "sherman" AND water__sqmi_ < 0.005
SELECT AVG("ansi_code") FROM "table_name_39" WHERE "sherman" = "township" AND "water__sqmi_" < 0.005