sql - display price from two tables without eliminate products -
I have this query:
<(where oitm.ItemCode = oscn.ItemCode and itm1.ItemCode = oscn.ItemCode and oscn.CardCode = 'test' and select itm1.PriceList = 2) P> This question is for a certain customer to get all the products related to the regular price (7 products). select ITEMNAME, FrgnName, onhand, value as Regular_Price ITM1, OITM where
Now I would like to add the fourth table (specialial_presses table) containing only 6 products of this customer's special price.
The problem is that if I add a special_computer to the query, then my result will be 6 products and I want to show all customer items with both prices, though one of them is 0.
Comments
Post a Comment