No Records Found

Share on:
    SELECT ctID,seoUri FROM `ki_condition_and_treatment` WHERE status='1' AND categoryID= AND ctID=(select max(ctID) from `ki_condition_and_treatment` where ctID < 0)
    SELECT ctID,seoUri FROM `ki_condition_and_treatment` WHERE status='1' AND categoryID= AND ctID=(select max(ctID) from `ki_condition_and_treatment` where ctID < 0)
    You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND ctID=(select max(ctID) from `ki_condition_and_treatment` where ctID < 0)' at line 1