Problem: Starting from the HR department head (dept_id = 1, manager_id is NULL), list all employees in that reporting chain (head + all direct/indirect reports).
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `assignment_meangrades` AS select `assignment`.`id` AS `id`,`assignment`.`unitId` AS ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する