Extrayez l'année de la date et regroupez-la
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc
Extrayez l'année de la date et regroupez-la
select year(date) as year,
count(customer_id) as customers
from your_table
group by year
order by year asc