Tell me where is my error? Switched the muscle version from 5.6 to 5.7 and an error appeared
SELECT id, COUNT(*) FROM poi Error Code: 1140. In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'shelter.poi.id'; this is incompatible with sql_mode=only_full_group_by
I make a grouping and it ceases to count the number correctly.
SELECT id, COUNT(*) FROM poi GROUP BY id
select id, count(*)
I ask why there is an id column? If you remove it, the request will of course be fulfilled - Mike