0
SELECT role.name, role_privelege.privelege
FROM role
JOIN role ON role.id = role_privelege.id
打破了一个错误:SQL Server的查询表,该表名相匹配的命令名称
[Error Code: 1013, SQL State: S0001]
The objects "role" and "role" in the FROM clause have the same exposed names. Use correlation names to distinguish them.
有了别名也不起作用。
除了DbVizualizer凸显role.name
的role
例如,作为命令名
骨灰到我的我的头,我很抱歉。一切从一开始就没问题,错误的特权作为专利。感谢您的帮助 –