I\'ve got a user table and a complaint table.
The complaint table has the following structure:
[opened_by] [
SELECT user1.username AS opened_by_username, complaint.complaint_text, user2.username AS closed_by_username
FROM user AS user1, complaint, user as user2
WHERE user1.user_id = complaint.opened_by
AND user2.user_id = complaint.closed_by
Join it again using an alias (thats what the user as user2 stuff is about)