输入banner图图片脚本导航/分类

oracle+mybatis报“未找到要求的from关键字”错误?

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