SCHEMA:
CREATE TABLE table_name_27 (round INTEGER, player VARCHAR, pick VARCHAR)
USER:
What is the highest round of Tommy Allman, who had a pick less than 40?

QUERY:
SELECT MAX(round) FROM table_name_27 WHERE player = "tommy allman" AND pick < 40