Check out example codes for "see all users mysql". It will help you in understanding the concepts better.

Code Example 1

mysql> select host, user, password from mysql.user;

Code Example 2

SELECT User, Host FROM mysql.user;

Code Example 3

mysql> select * from mysql.user;

Learn ReactJs, React Native from akashmittal.com