fetching join columns