Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column '
mydb.visitors.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (SQL: select distinct * from
visitors
where
user_id
= 1 and (
created_at
>= 2020-04-10 21:00:00 and
created_at
<= 2020-04-21 12:52:50) group by
hash
limit 100)