Schema: CREATE TABLE table_name_40 (attendance INTEGER, opponents VARCHAR, venue VARCHAR, result VARCHAR)
Question: What is the largest number in attendance at H venue opposing Liverpool with a result of D?
SQL: SELECT MAX(attendance) FROM table_name_40 WHERE venue = "h" AND result = "d" AND opponents = "liverpool"