display database tables in mysql code example
Example 1: mysql command show tables
SHOW TABLES;
Example 2: show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
Example 3: mysql command show tables
mysql -u user -p