Home Forums SQL Server 2008 SQL Server Newbies Row_Number With Partition keep min record of partition when count > 1 RE: Row_Number With Partition keep min record of partition when count > 1
Lee Hopkins
SSC Eights!
Points: 960
More actions
June 23, 2014 at 2:12 pm
#1724192
just the query to get my counts back by city.
my problem is i the record i need to keep could be say row 5 of a partition (of 7). so i would need delete 1,2,3,4,6,7 and keep row 5