如果有多条ID相同的数据,删除时又不想全部删除那么这时候应该按照数据其他字段数据来进行排序 delete from [dbo].[tMonitor] where monitor_time in (select top 338 monitor_time from [dbo].[tMonitor] order by monitor_time) 这里我使用的是 “monitor_time” 字段进行的排序,其中我要删除前338条数据