SQL Server Sélectionnez Ignorer Dupplicate

SELECT DISTINCT(user_id) FROM messages ORDER BY id DESC LIMIT 5
Gifted Gibbon