mysql: get all rows into 1 column
- by andufo
hi, i have 3 tables:
post (id_post, title)
tag (id_tag, name)
post_tag (id_post_tag, id_post, id_tag)
Lets suppose that id_post 3 has 4 linked tags 1,2,3,4 (soccer, basket, tennis and golf).
Is there a way to return something like this in ONE row?
col 1 id_post = 3
col 2 tags = soccer basket tennis golf
Thanks