Database Query Error:

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'db_453689_3.mybo_stations_stat.time' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

for query

SELECT time, AVG(signalsh) sig, AVG(strikesh) astr, MAX(strikesh) mstr, COUNT(time) / COUNT(DISTINCT time) cnt
					FROM mybo_stations_stat
					WHERE time BETWEEN '2026-01-13 23:54:06' AND '2026-01-08 15:27:23' AND  station_id  = 0  
					GROUP BY TO_DAYS(time), HOUR(time), FLOOR(MINUTE(time) / 15)