how can I delete duplicate rows from the table keeping only one row that has the max id. My table structure is like this
id Iscomputer ComputerName
The computername col has duplicate values. I need to keep only one row for each computername where iscomputer = 1. If the is computer value is 0 then I can have duplicate values. Also I want to keep the row that has the max id
Can anyone help me with this...thanks a ton.
vidya
id Iscomputer ComputerName
The computername col has duplicate values. I need to keep only one row for each computername where iscomputer = 1. If the is computer value is 0 then I can have duplicate values. Also I want to keep the row that has the max id
Can anyone help me with this...thanks a ton.
vidya