0
I have this table in Mysql called logou:
id | idconta | dia
This query in Mysql always worked on my server:
SELECT dia FROM logou GROUP BY YEAR(dia), MONTH(dia) ORDER BY dia DESC
But now that the system has gone to the client server, and everything indicates that it is another version of Mysql or a SQL Server (can it be? Client is from Belgium, and are VERY boring in talking details of their server), this query presents this error:
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'eusoucomp-br-qa.logou.dia' which is not functionally dependent on Columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
What can it be? And how to fix?
you have access to the bank ?
– Marco Souza
@Marconciliosouza no... This is rpoblema, just send the files to them, and 10 days later they put on air.
– caiocafardo