i want to know how to find the column value change or not
Example :
table name = exam
a b c
12a 32 sdf
23s df fds
if i can search the row which c column have “fds”.
Query:
select * from exam where c='fds';
but the same time,i have to check the all the field value is change or not.
thanks in advance
Not sure I fully understand what you want to do, but by adding another column you can keep track of when the last change occurred. Either manually on each update query or, when you alter the table, you can set the
CURRENT_TIMESTAMPto be the default value of the column and add anON UPDATE CURRENT_TIMESTAMPclause so it will keep track of latest update.