split mysql table into multiple tables