DELETE in oracle
I have a table with id as unique
Select * from xx where name ='yy';
I got 2 records with id 1 and id 2
So I want to delete the id 1 record.
So when ever I run the query the record should delete the oldest of the ones.
For name zz If I have 3 records with id 3,4,5 . It has to keep only 3 record.
Thanks in advanxe