我試圖獲取離開此評論的用戶的用戶信息。字段列表中的'user_id'字段不明確
用下面的代碼:
SELECT username, image, user_id FROM table_users AS us
JOIN table_reviews AS re
ON re.user_id = us.user_id
WHERE us.user_id = 1 AND
re.review_id= 1
我得到的錯誤:
Column 'user_id' in field list is ambiguous
這是什麼意思?