getColumn function

Get data of given column unless if does not exist (return NULL in that case).