I have a table with consisting of products and product id's. I then have a table of attributes consisting of product id,attribute id and attributes. My issue is I want to join the two tables but only return 1 row. I.e if I have a product description of a hammer with a product id of 1. In the attributes table I have two fields with a product id of 1 and attribute 1 = black, attribute 2 = steel. What I want returned is one line :
Product,ProductID,ProductID,Attribute,Attribute
Hammer,1,1,black,steel
Product,ProductID,ProductID,Attribute,Attribute
Hammer,1,1,black,steel