Is there a way to list all the reserved words in MySQL using the MySQL command-line utility?


Yes, we can all the reserved words in MySQL using the command-line utility. Following is the syntax −

select *from mysql.help_keyword;

Let us implement the above syntax in order to get list of all the reserved words in MySQL.

Following is the query −

mysql> select *from mysql.help_keyword;

This will produce the following output -


Updated on: 22-Aug-2019

118 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements