Error in query: SELECT c.client_id, c.name_ua as client_name, c.name_sm_ua as client_name_sm FROM CLIENT c WHERE (c.parent_id = 0 OR c.parent_id IS NULL) AND c.is_public = '+' AND c.type_id = 11 AND c.name_sm_ua LIKE('%') ORDER BY client_name_sm