delete more than one id from SQL Server -
how delete rows duplicate values "driverid"?. want remove duplicated entries if each record. please see below image, want query how this.
use exists()
delete yourtable p exists(select 1 yourtable pp p.driverid = pp.driverid , p.id > pp.id)
Comments
Post a Comment