Added function to get the column names of a table