Facing the issue of
incompatible with sql_mode=only_full_group_by;
to resolve the issue, now use ANY_VALUE(<column_name>), It resolves the issue.
But, in some mysql query, We have to use all the columns of db table; where I have used * like :
SELECT * FROM db_table GROUP BY Col_1;
Now How can I apply ANY_VALUE, to the above query.
Please guide.
SELECT ANY_VALUE(*) FROM db_table GROUP BY Col_1;
Throws error.