MySQL sql_mode=only_full_group_by is turned off in leetcode

MySQL sql_mode=only_full_group_by is turned off in leetcode.

Would it be better that LeedCode turn it on to match with the default setup of MySQL?

It is better complying with SQL standards.

Otherwise, people practicing on leetcode get used to the coding style with "only_full_group_by" off and if the interview coding environement was set as "on" as default, they might run into errors that they are not expecting.

Comments (0)