Ottieni le date univoche e poi usa order by
e limit
:
select date
from (select distinct date from table t) d
order by date desc
limit 3;
Ottieni le date univoche e poi usa order by
e limit
:
select date
from (select distinct date from table t) d
order by date desc
limit 3;