原文:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre

錯內容Expression of SELECT list is not in GROUP BY clause and contains nonaggre 原因分析mysql . 默認啟用ONLY FULL GROUP BY特性,即:對於GROUP BY聚合操作,如果在SELECT中的列,沒有在GROUP BY中出現,那么這個SQL是不合法的,因為列不在GROUP BY從句中, 也就是說查出來的列必 ...

2022-03-09 14:43 0 1396 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM