Recent Posts
Link
250x250
오늘보다 더 나은 내일의 나에게_
Oracle ERROR_ORA-00937: not a single-group group function 본문
Oracle/오류 내용 정리
Oracle ERROR_ORA-00937: not a single-group group function
chan_96 2021. 12. 27. 13:53728x90
ERROR at line 1:
ORA-00937: not a single-group group function
=> 단일 그룹 함수가 아니다!
해결방법
-SELECT 절에 그룹 함수가 오면 SELECT 절의 나머지 컬럼은 GROUP BY절에 기술
-SELECT 절에 그룹함수가 오거나 GROUP BY 절 이하에 기술된 컬럼이 오면 나머지 컬럼은 SELECT 절 뒤에 올 수 없다.
728x90
'Oracle > 오류 내용 정리' 카테고리의 다른 글
Oracle ERROR_ORA-01441: cannot decrease column length because some value is too big (0) | 2021.12.30 |
---|---|
Oracle ERROR_ORA-00001: unique constraint () violated (0) | 2021.12.29 |
Oracle ERROR_ORA-00918: column ambiguously defined (0) | 2021.12.27 |
Oracle ERROR_ORA-12560: TNS:protocol adapter error (0) | 2021.12.25 |
Oracle ERROR_ORA-00911: invalid character (0) | 2021.12.24 |
Comments