下面的 SQL 查询一直很适合我:
DELETE FROM zNMall1r.* WHERE zNMall1r.Phone = DoNotCall.Phone
当我尝试执行时,它返回错误 1054:
17:51:01 DELETE zNMall1r.* FROM zNMall1r WHERE zNMall1r.Phone = Phone.DoNotCall
Error Code: 1054. Unknown column 'Phone.DoNotCall' in 'where clause' 0.078 sec
有人对此有想法吗?