时间:2021-07-01 10:21:17 帮助过:3人阅读
select
d.DEPT_ID,
get_deptname_by_deptid(d.DEPT_ID) as d.DEPT_NAME
from sys_department d join ...
改成这样就好了:
select
d.DEPT_ID,
get_deptname_by_deptid(d.DEPT_ID) as DEPT_NAME
from sys_department d join ...
也就是把as后面的别名前缀去掉。
oracle+mybatis报“未找到要求的from关键字”错误?
标签:span tis sql name sel 别名 size font nbsp