【发布时间】:2010-11-28 22:36:51
【问题描述】:
这是我的表结构:
错误信息是:
#1066 - 不是唯一的表/别名:'user'
以下是我的代码。
SELECT article.* , section.title, category.title, user.name, user.name
FROM article
INNER JOIN section ON article.section_id = section.id
INNER JOIN category ON article.category_id = category.id
INNER JOIN user ON article.author_id = user.id
LEFT JOIN user ON article.modified_by = user.id
WHERE article.id = '1'
【问题讨论】:
标签: sql mysql join mysql-error-1066