Problem with SQL: SELECT * FROM `AttendingSchedule` WHERE `IdDoctor` = 29 AND `Reserved` =0 Group BY `Days` ORDER BY `AttendingSchedule`.`Days` ASC
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hawenha_doctorvi_doctor.AttendingSchedule.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by