GREATEST(DATEDIFF(CURDATE(),I.ISSUE_DATE)-14,0) AS OVERDUE_DAYS, ...