Apologies for the poorly worded question.
I have two tables, called conversations and conversation_users. Each conversation can have multiple users attached to it. The fields are as follows:
conversations
- conv_id
- conv_author_id
- conv_date
conversation_users
- cu_id
- cu_conv_id
- cu_user_id
Now, to avoid duplication of conversations with the same users. I want to check whether a conversation already exists with users with ID, say 12 and 25. If one exists, I wish to obtain the ID of that conversation.
How do I go about structuring a query to do this?