CREATE TABLE table_name_52 (attendance INT, opponent VARCHAR, score VARCHAR)

On games against the Devil Rays and a score of 2 - 1 (10), what was the attendance?
SELECT AVG(attendance) FROM table_name_52 WHERE opponent = "devil rays" AND score = "2 - 1 (10)"
SELECT AVG("attendance") FROM "table_name_52" WHERE "2 - 1 (10)" = "score" AND "devil rays" = "opponent"