I need help with a SQL statement. The goal is to count the amount of alarms of each date. My table looks something like this:
|----DATE----|---COUNTER---|---ALAR
SELECT date, SUM(counter) FROM all_stats GROUP BY date