Using the "GROUP BY" on user_id makes using "DISTINCT" unnecessary.