Added function to get column names from specified table as ResultSet