merge all the table into one