in the table below I want to compare for each user_id whether the number of rows for security_privilege_id has changed.
user_id
security_privilege_id
I want to compare latest