What potential issues can arise when using reserved words in MySQL, such as "alter"?

Using reserved words in MySQL, such as "alter," can lead to syntax errors or unexpected behavior in SQL queries. To avoid these issues, it's recommended to always enclose reserved words in backticks (`) when using them in queries. This ensures that MySQL interprets them as identifiers rather than keywords.

$query = "SELECT * FROM `users` WHERE `alter` = 'value'";
$result = mysqli_query($connection, $query);