A self many-to-many relation in Question Table may helps.
The many-to-many relation will relate a question to other questions.
To achieve the criteria to fetch related questions:
If yes go to 3
Could be done by adding a FK from answer table to many-to-many table.
Something like this:
I just suggest not to use surrogate identifier column in Related-Question table.
- The composite PK will be
{main question id, related question id,answer id}
- Check constraint will be
{main question id <> related question id}