The the delete command has many uses including the ability to delete a number of entries from an internal table which are the same. This uses the adjacent duplicates comparing addition to the delete command.
DELETE adjacent duplicates comparing <field1> <field2>....