0
分組功能,您好我嘗試運行:不是單組同時使用REGR_SLOPE
select
year,
regr_slope(sum(sale_count),year) as slope,
from products
group by year
它拋出「00937. 00000 - ‘不是一個單一羣組功能’」。當我刪除從選擇條款問題消失的一年。我不應該能夠選擇我正在分組的列嗎?
Oracle 11.2 sqldeveloper
ty求助!
ORA-00937:http://www.techonthenet.com/oracle/errors/ora00937.php – 2010-06-13 23:40:34