[ 17-Sep-2022 17:39:04 PM Asia/Calcutta ] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'image_path !='' and date_format(expiry_date, '%Y-%m-%d' ) > date_format('2022-09' at line 2