以下是我的查询和相关的错误。我究竟做错了什么?
update aaalogin
set name =
( select aaacontactinfo.emailid
from aaacontactinfo
WHERE aaalogin.user_id = aaausercontactinfo.user_id
and aaausercontactinfo.contactinfo_id = aaacontactinfo.contactinfo_id
);
我明白了
错误:“where 子句”中的未知列“aaausercontactinfo.user_id”