find contents of each column - base for generating select boxes