Error Code: 1055 incompatible with sql_mode=only_full_group_by

后端 未结 6 1322
予麋鹿
予麋鹿 2020-12-01 05:49

I have been having issues switching to an offline version of the Lahman SQL baseball database. I was using a terminal embed into an EDX course. This command runs fine on the

6条回答
  •  误落风尘
    2020-12-01 06:01

    SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
    
    ** your query **
    

    This will resolve your problem.

提交回复
热议问题