I have two questions:
- How to group and sum a column.
- How to displayed the result with a min sum value
I got my 1st answer here on how to group and sum the column, but I need to filter out by min amount of 100 ..
I tried
SELECT
member_code, SUM(product_price) as totalSales
FROM
src_calculation_daily
WHERE
totalSales > 100
GROUP BY
member_code
Any help is much appreciated. Thank you