CREATE TABLE table_name_40 (attendance INT, opponents VARCHAR, venue VARCHAR, result VARCHAR)

What is the largest number in attendance at H venue opposing Liverpool with a result of D?
SELECT MAX(attendance) FROM table_name_40 WHERE venue = "h" AND result = "d" AND opponents = "liverpool"
SELECT MAX("attendance") FROM "table_name_40" WHERE "d" = "result" AND "h" = "venue" AND "liverpool" = "opponents"