select d.fTitle as fTitle,d.fCreateTime as fCreateTime
from OA_DC_Doc d
join OA_DC_ReaderRange r
on d.fid = r.fMasterID
and ( (r.fRangeURL ='/E0D042F0-22CA-47A1-B70E-760329EC6BE4.ogn') OR ( r.fRangeURL = '/E0D042F0-22CA-47A1-B70E-760329EC6BE4.ogn/4FD98BC3-555D-4B3A-BC21-225E0205E774.dpt') OR ( r.fRangeURL = '/E0D042F0-22CA-47A1-B70E-760329EC6BE4.ogn/4FD98BC3-555D-4B3A-BC21-225E0205E774.dpt/30E5CDF8-DB19-4105-A3B4-A1A48409A587.pos') OR ( r.fRangeURL = '/E0D042F0-22CA-47A1-B70E-760329EC6BE4.ogn/4FD98BC3-555D-4B3A-BC21-225E0205E774.dpt/30E5CDF8-DB19-4105-A3B4-A1A48409A587.pos/787FE98A-EA33-4175-BB70-B44D0E150671@30E5CDF8-DB19-4105-A3B4-A1A48409A587.psm') )
where ((d.freaderids not like '%787FE98A-EA33-4175-BB70-B44D0E150671%') or d.freaderids is null )