Error: Unknown column 'succession' in 'where clause'Error No: 1054select type_id from oc_type where succession = 'n' and status = 1