SQLSTATE[42S22]: Column not found: 1054 Unknown column 'parent_resources' in 'where clause' (Connection: mysql, SQL: select * from `tbl_resources` where `parent_resources` = 3 and `resource_id` <> 9 and `resource_id` not in (select `parent_resources` from `tbl_resources`))