--name,rectime上加索引;用临时表暂存要删的id。 select A.id into #t from A with(nolock),B with(nolock) where A.name=B.name and A.rectime=B.rectime; delete A from #t where A.id=#t.id
22,209
社区成员
121,730
社区内容
加载中
试试用AI创作助手写篇文章吧