当前位置:Gxlcms > 数据库问题 > Oracle中遇到的错误

Oracle中遇到的错误

时间:2021-07-01 10:21:17 帮助过:25人阅读


--select count(corp_tn),state_code from t_oa_main where corp_tn=‘jiayuanshu‘ and oa_code=‘QJ_PT_0005_2017_3_0004‘ --ORA-00937: 不是单组分组函数
--select count(corp_tn),state_code from t_oa_main where corp_tn=‘jiayuanshu‘ and oa_code=‘QJ_PT_0005_2017_3_0004‘ group by state_code; --ok

  

2. 

Oracle中遇到的错误

标签:from   -o   shu   函数   main   group   表达式   color   group by   

人气教程排行