a.id, a.parent_id AS "parent.id", a.parent_ids, a.name, p.name AS "parent.name", LEFT JOIN cadre_db.sys_office p ON p.id = a.parent_id