SELECT
*
FROM
ZDYPMPROJECTINFO pr
LEFT JOIN ZCCONTENT zc ON zc. ID = pr.zccontentid
WHERE
pr.ISDEL = 1
AND pr.SiteID = 14
AND PROJECTBEGINDATE >= to_date('2015-09-23 23:59:59','yyyy-mm-dd hh24:mi:ss')
AND PROJECTENDDATE <= to_date('2016-09-30 23:59:59','yyyy-mm-dd hh24:mi:ss')