Primary Key

You might say

AI said to update this record by id. Where does that id come from?

The field in a table used to uniquely identify each rowWhen modifying records or linking across tables, you must rely on a uniquely valued primary key to pinpoint the target row. Names and emails can duplicate or change, making them unsafe as definitive anchors; basing updates and deletions on primary keys prevents accidentally touching adjacent rows.
Know first
Primary KeyID