Lets say for an example we have a table called student (sID is the primary key, isValid=1 means the row is valid and 0 is invalid for the moment)
sId sName gpa isValid
1 Tom 3.0 1
2 Hanks 3.5 1
now let's assume that I have updated Tom's values. but still I want to save the previous values.
sId sName gpa isValid
1 Tom 3.0 0
2 Hanks 3.5 1
1 Tom 3.6 1
Now the Toms values has changes. nut his previous values haven't permanently deleted.
how can I implement this is there a plugin or something?. The problem is that primary key is occurring more than once.