I've a table with 3 columns - Product, Attribute, Value. I am looking for SQL query to display the o
For example
If table contains below data
Product Attribute Value
Header 1 | Header 2 | Header 3 |
---|---|---|
Product | Attribute | Value |
XYZ Running Shoe 6x | Size | 9 |
XYZ Running Shoe 6x | Color | Blue |
RS Leather Belt | Size | 38 |
RS Leather Belt | Color | Brown |
I need the output as:
Header 1 | Header 2 | Header 3 |
---|---|---|
Product | Size | Color |
XYZ Running Shoe 6x | 9 | Blue |
RS Leather Belt | 38 | Brown |
0