Utilisez le DISTINCT opérateur dans MySQL : SELECT DISTINCT(Date) AS Date FROM buy ORDER BY Date DESC;