SELECT
D.Name,
GROUP_CONCAT((SELECT
C.Name
FROM
County AS C
INNER JOIN
DealerCounty AS DC ON DC.CountyId = C.CountyId
WHERE DC.DealerId = D.DealerId))
FROM
Dealer AS D
如您所见,我想按经销商对县名进行分组。它返回,Error Code: 1242. Subquery returns more than 1 row
我应该如何更改我的查询?