输入banner图图片脚本导航/分类

Oracle中遇到的错误


--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