I have a query but I dont know how to make it optimal. I have three objects.
- SCP
- Question : it has a field that points SCP (SCP_id)
- Answer : it has a field that points Question (question_id)
How can I make a query that counts the number of answer within a given SCP