I have 2 database tables, innov8_data & innov8_data_fps.
innov8_data is my master table, innov8_data_fps is populated once a day new data from a import script.
What I need to do is identify differences in innov8_data from the new data imported to innov8_data_fps.
my data structure is id, sku, free_stock for both tables.
First 3 rows of innov8_data;
1,08-143800-00,0
2,DC83406,8
3,HBS106,0
Now if the first 3 rows of innov8_data_fps are as follows;
1,08-143800-00,0
2,DC83406,8
3,HBS106,8
I need to be able to identify the changes to the free_stock column for items with the same sku. The id column isn't consistent with the same product in each as the new import can have more or less sku's.