SELECT realestate.id,node.id,node.name
from realestate,
(SELECT
GROUP_CONCAT(parent.name_en ORDER BY parent.lft DESC) AS name,id
FROM
address AS node JOIN address AS parent
ON node.lft BETWEEN parent.lft AND parent.rgt
WHERE node.lft >={$lft} and node.rgt <={$rgt}
GROUP BY node.name) as node
INNER JOIN users ON id_user = users.id
LEFT JOIN pic ON id_realestate = realestate.id
WHERE node.id = realestate.address_id
我尝试对其进行多次修改,并且此错误消息不会消失“数据库查询失败:字段列表中的列'id'不明确”。关于如何解决这个问题有什么想法吗?