MySQL has a problem with [Err] 1055-Expression #1 of ORDER BY clause is not in GROUP BY clause

MySQL has a problem with [Err] 1055-Expression #1 of ORDER BY clause is not in GROUP BY clause

first step:

show variables like "sql_mode";

The second step:

set sql_mode='';

third step:

set sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';

Guess you like

Origin blog.csdn.net/m0_43413873/article/details/112278972