【发布时间】:2020-10-21 14:38:22
【问题描述】:
我需要创建一个查询来返回同一个表中的多个值,并将其作为结果的列返回,例如:
在此表中,路径值不同,但可以具有相同的 id_location。
SELECT
Name,
Address,
path
from
`table_location` as A
inner JOIN table_images as B
on A.id = B.id_location
where A.des
这次回归
test1, example, pathExample1
test1, example, pathExample2
test3, example, pathExample3
test3, example, pathExample4
如何在列中返回路径?
例子:
test1, example, pathExample1, pathExample2
test3, example, pathExample3, pathExample4
我该怎么做?
【问题讨论】: