They just delete.

In fact rows are processed one by one and then moved to some other table ( i.e. fst insert in to some other table and then delete from the main table)