select distinct(SUBSTR(trait_value,1,6)) from zzb2 where SUBSTR(trait_value,1,4)= '2009' order by trait_value asc
运行上面sql报:不是selected表达式
用oracle怎么写??
运行上面sql报:不是selected表达式
用oracle怎么写??
解决方案 »
- 创建好的存储过程在
- 【高手群】Dephi+Oracle和PB+Oracle开发管理信息系统,讨论比较一下???
- 有没有oracle版本可以sga可以用2G以上的内存??
- 求教!关于java 调用存储过程参数类型问题!
- 我在XP下装了个Oracle 9.0,但系统一启动就自动启动了Oracle,想让系统启动时,不启动Oracle,怎么办?
- 大家帮我看看这个DELETE有什么错误,在线等
- oracle目录服务的配置案例?
- 我的system用户不能以normal身份登录了,什么原因?
- 初学者的如何安装ORACLE9I的问题
- shell脚本定时清除归档日志,急急急急急急。
- 使用Odp.net,传参数Update无法更新,只有拼接字符串才有用
- 如何查询包里面的函数被哪些对象调用
------------------------------------
Cause: There is an incorrect ORDER BY item. The query is a SELECT DISTINCT query with an ORDER BY clause. In this context, all ORDER BY items must be constants, SELECT list expressions, or expressions whose operands are constants or SELECT list expressions.
------------------------------------
Action: Remove the inappropriate ORDER BY item from the SELECT list and retry the statement.