select a, count(1) into v1, sum(b) into v2
from test
group by a;oracle中这样写认为语句非法,像这种多个into的该则么写?
from test
group by a;oracle中这样写认为语句非法,像这种多个into的该则么写?
解决方案 »
- where 1=1的问题
- set timing on 执行程序后的执行时间我看不懂?
- 请arvid_gs (west) 来领分!(非常感谢!)
- 如何在ORACLE数据库中写SQL语句取SQL SERVER中表的数据-----急
- oracle触发器中语句出错时如何跳过错误继续执行
- 555555555,sql语句求教 (不然晚上回不去了)
- 在线高分急等!!
- svrmgrl下的????????如何解决?
- 关于ORACLE数据字典的问题 MM狂给分~~
- 关于链接数据库的问题?在线等待!谢谢帮忙!
- RMAN连接数据库时提示:protocol adator error
- oracle not availabale
select count(1),sum(b) into v1,v2 from ...
select c1,c2,... into v1,v2,... from table