Consider these tables
Product
productID
styleNumber
description
Tag
tagID
tag
These two tables have many-to-many relationship, so I made another table
ProductTag
productID
tagID
Now I want to get all products and corresponding tags, so the output looks like this. I will make a view of it.
View
productID - styleNum - description - tags
1 - '1111' - 'description text' - 'tag1, tag2, tag3'
2 - '2222' - 'description text' - 'tagX, tagY, tagZ'
I found this link: http://sqlserver-notes.blogspot.com/...ring-from.html
But I am not sure how to implement it in my situation.