27,579
社区成员
发帖
与我相关
我的任务
分享
declare @aid int,@bid int,@cid int
delete @aid =a.id,@bid =b.id,@cid =c.id from a,b,c
where a.id=b.aid and b.id=c.bid and a.name = '张三'
delete from a where id=@aid;
delete from b where id=@bid;
delete from c where id=@cid;