I have a select query that currently produces the following results:
Description Code Price
Product 1 A 5
Product 1 B 4
Product 1 C 2
Using the following query:
SELECT DISTINCT np.Description, p.promotionalCode, p.Price
FROM Price AS p INNER JOIN
nProduct AS np ON p.nProduct = np.Id
I want to produce the following:
Description A B C
Product 1 5 4 2