I have 3 tables:
Productmaster:
ProductId PName PDescription
Attributes:
AttributeID attName
---- ----
1 Brand
2 Category
3 Artist
ProductAttributeValues
paId ProductId AttributeID AttributeValues
A product
can have multiple attributes
.
Here's the desired output:
ProductId ProductDesc Brand Category Artist
--- --- --- --- ---
1 sadasd Brand1 Category1 Artist1
2 sadasds Brand2 Category3 Artist4
How can I get this output?
Thanks in advance.