Keys for distinguishing table names (or columns!) From SQL reserved words. For example, without labels, a table or column named update may encounter the SQL update command.
Itβs best not to specify names and columns with reserved words, first of all, of course, but if you transfer the application to a new database engine (or, possibly, even a new version of MySQL), it may have a different set of reserved words, so you maybe just broke your app. Keys are your insurance against this kind of oops.
Nicholas knight
source share