I read a little about aggregation and even about collapsing. But Im afraid none of them fit my use case. This is my case:
The database contains mutual interest. Howev