34,836
社区成员




delete from table where column = 'xxx'
用from还有一点好处就是可以用别名
delete t from tb t where exists(select 1 from tb where col=t.col and id<t.id)
DELETE t FROM Baselnfo t
INNER JOIN QQUser AS QQU ON (DATEDIFF(DAY,QQU.LastLogTime,GETDATE())>1000)