I am having one table called Sales tables.tables has the following Datas
Product Date Sales
Product1 Date1 20
Product2 Date1 0
Product3 Date1 10
Product1 Date2 50
Product2 Date2 20
Product3 Date2 20
Product1 Date3 0
Product2 Date3 2
Product3 Date3 24
This is the table which contains these information.
In my summary screen records should be displayed like following type
Product Date1 Date2 Date3
Product1 20 50 -NA-
Product2 -NA- 20 2
Product3 10 20 24
if sales 0 means -NA- should displayed .I need Sql Query for this above concept,
if any body knows please inform ne