select t.*,\n (u1.FIRSTNAME || ' ' || u1.LASTNAME) AT_FULLNAME,\n (u2.FIRSTNAME || ' ' || u2.LASTNAME) OB_FULLNAME,\n (u3.FIRSTNAME || ' ' || u3.LASTNAME) RB_FULLNAME\n from tickets t,\n users u1,\n users u2,\n users u3\n where t.ASSIGNEDTO = u1.USERID (+)\n and t.OPENEDBY = u2.USERID (+)\n and t.REQUESTEDBY = u3.USERID (+)\nu1.USERID would be NULL if there wasn't a match. W/out the (+) the result would be empty if any USERID didn't match.
I've standardized our company to use this format for queries. It makes them much easier to read and maintain.
Note: I'm using Oracle