Worked on complex query for matching two multi categorical questions data.

Signed-off-by: Rahul <snrahul11@gmail.com>