当前位置:网站首页>MySQL three table query problem

MySQL three table query problem

2022-07-23 10:18:00 CSDN Q & A

Role table , Role and menu middle table , Menu table , I want to query the permissions of all roles . There are primary menus in the menu table , And secondary menus .
The result I want is , Alias the secondary menu and put it behind the primary menu ! How should I write this sql sentence ? I don't know how I describe it , Can you understand !

img

原网站

版权声明
本文为[CSDN Q & A]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/204/202207161222361910.html