728x90
반응형
https://velog.io/@moojun3/MySQL-Error-Code-1055-onlyfullgroupby
MySQL] Error Code 1055, only_full_group_by 오류 해결
GROUP BY 문법은 맞게 작성되었는데 위와 같은 오류가 발생하였다. MySQL 5.7 Reference Manual > 12.20.3 MySQL Handling of GROUP BY위 링크를 참고하면, "MySQL 5.7.5 and later implements d
velog.io
[MySql] GROUP BY 쿼리 에러 해결 방법
//-------------------------------------- * GROUP BY 쿼리 에러 Expression of SELECT list is not in GROUP BY clause and contains nonaggregated column which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=on
codens.info
group by 함수를쓰려면 select 절에 group by 에 포함된 컬럼이거나 집계함수가 포함된 컬럼만 가능.
그래서 MAX() 로 pivot table 만든거였다..
728x90
반응형
'Error' 카테고리의 다른 글
[Error][SQL]Column '컬럼명' in order clause is ambiguous (0) | 2023.05.31 |
---|---|
[Error][MyBatis] Cause: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for (0) | 2023.05.30 |
[DB][Error] row size too large error (0) | 2023.04.30 |
[Error][jQuery] each문으로 배열 push할 때 오류 (같은 값만 입력) (0) | 2023.04.20 |
[Error][lombok] json 타입으로 boolean parameter 사용시 에러 (0) | 2023.04.17 |