基本上我想离开加入 3 个表我已经加入了下面的 2 个表
SELECT *
FROM Shop_id i
LEFT JOIN Shopper s
ON i.shopper_id = s.uid
WHERE i.shopper_comp > 0 AND
i.editor_comp = 0
ORDER BY i.sid
我已经成功加入 Shop_id i 和 Shopper s 我想将 Clients c 添加到我认为的组合中-
SELECT *
FROM Shop_id i
LEFT JOIN Shopper s, Clients c
ON i.shopper_id = s.uid AND i.cid = c.CID
WHERE i.shopper_comp > 0 AND
i.editor_comp = 0
ORDER BY i.sid
我错了-请帮助