Setting MySql flags in SQL Google Cloud Database

Hi Guys ! Recently I came across the exception while executing the SQL. The exception is: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'saw.SR.RoleId' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by The reason behind this … Continue reading Setting MySql flags in SQL Google Cloud Database