2007/01/11 09:51
文章作者:9Enjoy 转载请注明原文链接。
SELECT a.ContentID FROM a left join b on a.ContentID = b.ContentID where b.nodeid=13)
提示:
#1093 - You can't specify target table 'a' for update in FROM clause
问了下gump,原来要这么写:
update a, b set a.siteid = '4' where a.ContentID = b.ContentID and b.nodeid=13

apache不允许目录列出索引
[转]收到骗子的短信,有点好玩!


服务器: 消息 170,级别 15,状态 1,行 1
第 1 行: 'a' 附近有语法错误。
mysql和mssql不太一致哦。。。