Udtræk året fra datoen og grupper efter den
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc
Udtræk året fra datoen og grupper efter den
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc