ynotlim
11-25-2008, 06:48 PM
hello...
I have a table with lots of duplicate data and need to delete them.
Say I have a table with columns fname, lname, process
('Tony','B','2)
('Tony','B','0)
('Tom','L','0)
('Tom','L','0)
('Eric','T','1)
('Eric','T,'0)
I want to delete the duplicate data. And if the process greater than 0, then make sure it deletes the one that is at process 0.
Thanks!
I have a table with lots of duplicate data and need to delete them.
Say I have a table with columns fname, lname, process
('Tony','B','2)
('Tony','B','0)
('Tom','L','0)
('Tom','L','0)
('Eric','T','1)
('Eric','T,'0)
I want to delete the duplicate data. And if the process greater than 0, then make sure it deletes the one that is at process 0.
Thanks!