A trigger can be executed before or after each row is inserted. If executed before the delete a table containing the old row is passed, and if after nothing is passed, as there is no more table.