列的别名也可以不用as,如:select t.a xxx from table t

在Oracle数据库中,数据表别名是不能加as的,例如:

select a.appname from appinfo a;-- 正确

select a.appname from appinfo as a;-- 错误

注释:这可能是为了防止和Oracle数据库中的存储过程中的关键字as冲突的问题。

相关文章:

  • 2021-07-18
  • 2022-02-16
  • 2021-08-14
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
  • 2021-10-18
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2021-12-01
  • 2022-12-23
相关资源
相似解决方案