Sql error
select id from jm_categories where parent_id='293' and `delete`=0