In my WampServer 3.2.6 (64-bit), in phpMyadmin 4.9.7, under Variables tab, when I change sql mode value from:
STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER
to
STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,ONLY_FULL_GROUP_BY
The value ONLY_FULL_GROUP_BY is lost when I restart Wamp
I need to have this value every time I write some query which requires GROUP BY clause in MySQL
Why does it happen so and how to fix this annoying issue?