对不起,如果它是微不足道的,但是选择带*符号的列总是不起作用,我找不到对此行为的引用.
我可以使用以下语句选择表A和列col:
select * from A;并select col from A;与select aa.col,aa.* from A aa;
但我不能一起看待它:
select *,col from A;
Run Code Online (Sandbox Code Playgroud)
会导致错误 ORA-00923: FROM keyword not found
select col,* from A aa;
Run Code Online (Sandbox Code Playgroud)
会导致错误 ORA-00936: missing expression
为什么我必须使用别名来*签名?
select col,aa.* from A aa;
Run Code Online (Sandbox Code Playgroud)
为什么错误如此误导?
| 归档时间: |
|
| 查看次数: |
55 次 |
| 最近记录: |