SELECT list is not in GROUP BY clause and contains nonaggregated column … incompatible with sql_mode=only_full_group_by

前端 未结 19 3256
灰色年华
灰色年华 2020-11-22 11:28

AM using MySQL 5.7.13 on my windows PC with WAMP Server

Here my Problem is While executing this query

SELECT *
FROM `tbl_customer_pod_uploads`
WHERE          


        
19条回答
  •  执笔经年
    2020-11-22 12:05

    In Ubuntu

    Step 1:

    sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
    

    Step 2: Go to last line and add the following

    sql_mode = ""
    

    Step 3: Save

    Step 4: Restart mysql server.

提交回复
热议问题