[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
- Oracle Model ClauseOracle
- About Oracle WITH clauseOracle
- ANALYZE INDEX clauseIndex
- Oracle SQL Model ClauseOracleSQL
- ALTER SESSION ADVISE ClauseSession
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- Mysql update in報錯 [Err] 1093 - You can't specify target table 'company_info' for update in FROM clauseMySql
- UNRECOVERABLE DATAFILE clause in the ALTER DATABASE CLEAR LOGFILE statementDatabase
- You can‘t specify target table ‘Person‘ for update in FROM clause
- ORA-01788: CONNECT BY clause required in this query blockUIBloC
- MS-SQL 錯誤: The offset specified in a OFFSET clause may not be negativeSQL
- 建立Materialized view log時是否使用sequence clause的差別ZedView
- mysql的order by和group byMySql
- [Developer] ORA-00979:not a group by expressionDeveloperExpress
- msql查詢中報錯 Unknown column '黃色水果' in 'where clause'SQL
- ORA-01788: CONNECT BY clause required in this query block For ORACLE 10GUIBloCOracle 10g
- 【WITH Clause】使用WITH子句提高查詢統計效率-顛覆思維定勢
- Oracle 12C 新特性之非分割槽錶轉分割槽表online clause(不停業務+索引有效)Oracle索引
- 文獻閱讀——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
- ORA-00979: not a GROUP BY expression報錯處理Express
- [905]MySQL的sql_mode解析與設定和MySQLdb._exceptions.OperationalError: (1055, “ExpressionMySqlExceptionErrorExpress
- MySQL5.7 group by新特性報錯1055的解決辦法MySql
- 00017: Data frame has at least one annotation group that is enabled and contains graphicsASTAI
- 瞭解C#的ExpressionC#Express
- [SQL]group by和order by是否能寫欄位別名SQL
- [C# Expression] 之動態建立表示式C#Express
- oracle全文索引之SECTION GROUP_1_NULL_SECTION_GROUPOracle索引Null
- npm ERR! code EINTEGRITY npm! ERR! shal-NPM
- Expression BlendExpress
- 關於c++11 memory order的理解C++
- Mysql優化_ORDER BY和GROUP BY 的優化講解(單路排序和雙路排序)MySql優化排序