I have a Type AnsweredQuestions with User, Question (type) and Answer (field). For example:
User Question Answer
1 1 0
1 2 1
1 3 1
2 1 0
2 2 0
3 1 0
3 2 0
3 3 1
I need to find users with a number of matched answers to the current user (User1) so the result should look like:
User Count of the same answers to the same questions:
2 1
3 2
Please help