I'm really new to SQL, but I was given a task that I need to accomplish.
I have one table and from time to time I will get a new table. What I need to do is compare the new one with the old and see all differences (modified values, rows deleted or rows added). After getting all differences, I have to create a new table which will be an updated version of the first one.
After just one day reading about SQL I got as far as EXCEPT, so I know how to spot the differences (not sure if it's the best way though), but I don't know how to do all the process.
SELECT * FROM dbo.Price_List1
EXCEPT
SELECT * FROM dbo.Price_List2
Thank you very much in advance.