so I have an old database that I\'m migrating to a new one. The new one has a slightly different but mostly-compatible schema. Additionally, I want to renumber all tables from
AFAIK, you cannot update two different tables with a single sql statement
You can however use triggers to achieve what you want to do.