I have the following query
SELECT * FROM collection
WHERE id = 1 AND (
    privacy = 0
    OR (privacy = 1 AND
        EXISTS (SELECT * FROM collection_member WHERE collection_id = collection.id AND member_id = 1)
    )
)
This is working fine. However I also want to output result from SELECT * FROM collection_member WHERE collection_id = collection.id AND member_id = 1. What is the most efficient way to achieve this without using joins? (Edit: May be subquery encapsulation?)
 
     
     
    