So I have 3 tables:
- users
- achievements
- achievements_unlocked (many-to-many)
I would like a query to return all achievements available, plus mention what achievements the current user (id_user=123 for example) has unlocked.
How can I do this? This should involve a LEFT JOIN but if I add "WHERE id_user = 123" it won't get me achievements locked...
Thanks!