select int.participantid, int.partnerid, int.partnertype from tbl_crm_interactions int where int.interactionid = and int.ownerid = and int.ownertype =