本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
1.如果需要联系其他的表需要使用using语句
2.不能使用别名,要不然会无法执行
比如下面这个例子:
delete from xy_keys using xy_keys,xy_users where xy_users.email=\'xx\' and xy_keys.thekey=xy_users.username;
本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
1.如果需要联系其他的表需要使用using语句
2.不能使用别名,要不然会无法执行
比如下面这个例子:
delete from xy_keys using xy_keys,xy_users where xy_users.email=\'xx\' and xy_keys.thekey=xy_users.username;