I need to get all record sum with the group by function. here is the e.x. which I have using
Query -
SELECT CONCAT(round(IF(avg(calories), avg(calories), 0