split table1 into separate tables