1: 2: 3: 4: 5: 6: 7:
SELECT DISTINCT olink.linked_id FROM content_link AS olink WHERE olink.content_id = AND olink.linked_id NOT IN ( SELECT ofav.content_id FROM content_favorites AS ofav WHERE members = )