I need to make a triger / trigger so that when someone inserts a value it is modified and another one is inserted.
That is, I from a web page will insert a list of products with their ID, but the database to be in oracle does not have auto_increment.
So from the web I will always pass the same ID but then in the database with a trigger I want the value of the id to be modified and changed by the last id + 1.
I do not know if it is possible to do this, if someone can give me a hand I would appreciate it, I have never worked with trigeers