sql - Create a comma-separated string from multiple rows of one column? -


i've access table this

id | username | carbrand ------------------------- 0    peter      vw 1    peter      ferrari 2    mike       audi 3    peter      dodge 4    heidi      bmw 5    heidi      ford 

i need names carbrand field comma separated list report.

is there way (without vb, maybe using coalesce alternative?) create comma-separated string this, without name: part?

peter: vw, ferrari, dodge mike:  audi heidi: bmw, ford 

as it's report there other ways this, maybe using expressions in report?

you cannot access without vba. coalesce not exist, can write udf has of functionality, example http://allenbrowne.com/func-concat.html however, once use udf, query no longer viable outside access.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -