The application manages (for the sake of simplicity) Topic and Messages posted to it by Users. Its structure is rather simple, and enforced by Foreign keys:
There are 3 tables, Topics, Users and Messages.
The Topic and User entities are linked through an (,) cardinality link embodied by the Message Entity.
Message: (IdTopic,IdUser,Message)
The other entities aren't of any interest by themselves.
Now the question:
I need to return every topics for which a specific user hasn't made any reply (Message). As you imagine, the database diagram is constitued of 3 tables.
How do I do it without a complex query? I am quite sure the answer is easy... But it's far too late in the night for me to think straight.