Para evitar el error 1055 se deben agregar todos los valores por ejemplo en este caso "envase, sabor", yo en mi caso tengo por defecto: ONLY_FULL_GROUP_BY (true)
Error Code: 1055. Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jugos_ventas.tabla_de_productos.SABOR' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by 0.000 sec