Clarification, and possibly avoid a join in query