2
這個問題有什麼問題?我收到錯誤#1066 - 不唯一表/別名:'v'MySQL加入查詢 - 不是唯一表/別名
SELECT v.newsid AS identifier, j.createdate AS DATE, j.newstext AS TEXT, j.uuid AS user, j.flags AS fcount, j.votes AS vcount, j.authornick AS nick
FROM votes v
INNER JOIN news v ON j.newsid = v.newsid GROUP BY v.newsid ORDER BY COUNT(v.newsid)
LIMIT 20
您正在爲投票和新聞表使用別名v。 – Jrod