sum():
select sum(your_number_field) from your_table where ...
select sum(your_number_field) from your_table where ...
解决方案 »
- 关于FORM的问题
- update a set a01=a01+'10' 这样更新在oracle里出错为什么?
- 我安装了oracle9i的客户端,能否用它直接连上oracle8i的数据库?
- 如何在存储过程中使用spool??
- 這個存儲過程哪里有錯?
- oracle中alert.log文件在哪啊
- 初学:求一日期函数
- 请问:oracle的方案怎么建?
- oracel数据库出现'initalizing or shutdown in process',不能登录,不知是何原因
- 求救!本地机无法启动OracleOrahome90ManagementServer服务
- ORA-00933: SQL 命令未正确结束
- ora-12154:TNS: could not resolve service name 客户端连接数据库时出现这个问题
比如第三行应该是前两项之和
列:AA BB
a1 1
a2 10
a3 30
通过Select AA,BB,?? cc from tab1 ……
出来的结果是
AA BB cc
a1 1 1
a2 10 11
a3 30 41请教??如何写
不行啊,显示错误!
ORA-00923: FROM keyword not found where expected