[Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated c
報錯:
1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column ‘information_schema.PROFILING.SEQ’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode
解決方案:
找到my.cnf檔案,Linux上預設在etc/中,vi開啟編輯器,在[mysqld]輸入
sql_mode=‘STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION’
重啟mysql服務即可
相關文章
- [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains 的問題 MySQLExpressAIMySql
- mysql主給備賦予許可權時報錯,MySQL [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clauseMySqlExpress
- Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggreExpressAI
- mysql報錯:Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggreMySqlExpressAI
- list is not in GROUP BY clause and contains nonaggre的問題AI
- ocp 19c考題,科目082考試題(26) - order by clause
- ocp 19c考題,科目082考試題(27) - order by clause
- Oracle Model ClauseOracle
- DML_The OUTPUT Clause
- Oracle SQL Model ClauseOracleSQL
- 4.3.2.2.1 The SEED FILE_NAME_CONVERT Clause
- alter tablespace ts_name autoextend_clause
- You can‘t specify target table ‘Person‘ for update in FROM clause
- 文獻閱讀——Single Clause Assumption without Activation Literals to Speed-up IC3
- mysql order by 和 group by 順序問題MySql
- 解決laravel出現Syntax error or access violation: 1055 ‘***‘ isn‘t in GROUP BYLaravelError
- [905]MySQL的sql_mode解析與設定和MySQLdb._exceptions.OperationalError: (1055, “ExpressionMySqlExceptionErrorExpress
- MySQL5.7 group by新特性報錯1055的解決辦法MySql
- 瞭解C#的ExpressionC#Express
- group by 和 order by 一起使用,報錯 ORA-00979:不是 GROUP BY 表示式
- [SQL]group by和order by是否能寫欄位別名SQL
- [C# Expression] 之動態建立表示式C#Express
- Linq使用Group By 1
- JavaScript contains()JavaScriptAI
- C# 有關List<T>的Contains與Equals方法C#AI
- B組group1:A - Artwork
- C組group2 A - Odd Selection
- 關於c++11 memory order的理解C++
- [20190624]12c group by優化 .txt優化
- [LintCode/LeetCode] Contains Duplicate IIILeetCodeAI
- BUG: compat/mingw.c:151: err_win_to_posix() called without an error!Error
- [20200120]12c Group by Elimination bug.txt
- C#動態查詢:巧用Expression組合多條件表示式C#Express
- npm ERR! Unexpected token in JSON at position 0 while parsing near ’ npm ERR! <!–////////NPMJSONWhile
- leetcode 219. Contains Duplicate IILeetCodeAI
- Leetcode 10 Regular Expression MatchingLeetCodeExpress
- 【shell 】syntax error in conditional expressionErrorExpress
- find: paths must precede expression:Express