I have a table called participants with the following fields:
The background is that there ar
select conversation_id from participants where user_id in (1,2) group by conversation_id having count(user_id) = 2
Return two users conversation_id