> Whoops: > Should be WHERE ul. iso_code IN ('EN','DE')
but
SELECT DISTINCT u.user_id FROM user u JOIN user_language ul ON u.user_id = ul.ul_user_id JOIN language l ON ul.ul_iso_code = l.iso_code WHERE ul.ul_iso_code IN ('EN','DE');
gives
user_id 1 2
And see also my reply to Naresh about if there's only one language required.