我直接用select * from operation查出来的效果是这样的
他的父类表应该怎么实现。
王浩这个人名是在user表里
就涉及到一张表吗?关联关系是什么。
select o.*,u.realname,(select operation_name from operation where o.parent_id=operation_no limit 1) 父菜单 from operation o left join user u on o.created=u.username