SELECT mnb_code AS code, mnb_note as note, MNB_MOBILECREATED AS mobilecreatedtime FROM r5mobilenotebooks WHERE mnb_code NOT IN (SELECT MNR_REF_MOBILENOTEBOOK FROM r5mobilenotebookreferences WHERE mnr_mobilenotebook = <param.mobilenotebookcode>)  AND mnb_code NOT IN (<param.mobilenotebookcode>) ORDER BY mnb_code ASC
