This is correct syntax, although the parens are redundant in this particular situation.
Technically, this is called a "multi-restriction". Expand it by inserting the field (answer.ID) in front of each relational operator. It's inherited from COBOL :-)