delete part inverse the order of the tables