Hi,
Try this:
SELECT T0.[ItemCode], T0.[ItemName], (SELECT T1.[Price] WHERE T1.[PriceList] = 2 ) AS 'RETAIL PRICE', (SELECT T1.[Price] WHERE T1.[PriceList] = 1 ) AS 'TRADE PRICE' FROM OITM T0 inner JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode where T0.ItemCode = [%0] and t1.pricelist in ('1','2')
Thanks & Regards,
Nagarajan