Extrahujte rok z data a seskupte jej
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc
Extrahujte rok z data a seskupte jej
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc