如题,
select (这里是子查询) as aa from table1 where aa='123';
这样会报错,求解决方案,1.with temp as (select (这里是子查询) as aa from table1 where aa='123' )
select * from temp;
2.select * from (select (这里是子查询) as aa from table1 where aa='123' )
这样可以,但是要改很多代码,求有没有更为简便的方法。
一直在线等,,,
select (这里是子查询) as aa from table1 where aa='123';
这样会报错,求解决方案,1.with temp as (select (这里是子查询) as aa from table1 where aa='123' )
select * from temp;
2.select * from (select (这里是子查询) as aa from table1 where aa='123' )
这样可以,但是要改很多代码,求有没有更为简便的方法。
一直在线等,,,
解决方案 »
- oracle中能不能实现存储“数组”?
- python 连接oracle数据库时老是报错
- oracle数据.sql数据文件导入报错!
- ORA-12518, TNS:listener could not hand off client connection
- oracle多行转成一列请教??
- 一个简单的存储过程的问题(急!急!急!)
- ORA-06502: PL/SQL: 数字或值错误,应该不是缓冲区的问题,请帮忙看看,万分感谢...
- job不能执行
- 急,在线等!如何从oracle数据库中导出数据到.txt文件中
- 如何用SELECT 计算出上周的开始和结束时间?
- 想学习Oracle 的存储过程,函数,触发器等等;求经典练习或者参考文档
- 怎么让存储过程和定时器挂钩
其实也可以用select (这里是子查询) as aa from table1 where aa='123' and exists(子查询+一些过滤条件);