create table with limit up and down and selecting category columns to show