正确:
delete from [blog] where memberid='123'
错误:
delete from [blog] A where memberid='123'
正确:
delete A from [blog] A where memberid='123'
delete A from [blog] A where not exists(select * from [memberinfo] where memberid=A.memberid)
正确:
update [link] set [link].available=0 where exists(select * from [memberinfo] where memberid=[link].memberid
错误:
update [link] A set A.available=0 where exists(select * from [memberinfo] where memberid=A.memberid)