Very good day to all, I hope you can help me with this doubt in sql server, I have a table called PriceList with the following fields List_ID, Customer_ID, Product_ID, PriceA, PriceB which is related to my Customer and Product table.
At the time of adding a new list, you selected the client and the product and also assigned the prices, the fact is that I should be able to register several lists with the same client but with a different product, if I add a new list with the same client and a product already assigned must validate that product is already assigned to that customer.
In the same way with the other lists, I hope you can help me with the consultation in advance I thank you very much.