Remove unnecessary columns from table