Answer the question
In order to leave comments, you need to log in
How to get new products and deleted products back from price history table?
I have a table with 5 unique columns Id, Date, Shop, Product, Price. I can show all changes Price
SELECT 1 ID, '09.01.2018' "DATE", 'CandyShop' Shop, 'Pie' Product, 10 Price FROM DUAL UNION
SELECT 2, '10.01.2018', 'CandyShop', 'Pie', 11 FROM DUAL UNION
SELECT 3, '11.01.2018', 'CandyShop', 'Pie', 10 FROM DUAL UNION
SELECT 4, '12.01.2018', 'CandyShop', 'Pie', 9 FROM DUAL UNION
SELECT 5, '10.01.2018', 'CandyShop', 'Candy', 9 FROM DUAL UNION
SELECT 6, '11.01.2018', 'CandyShop', 'Candy', 9 FROM DUAL
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question