mysql view tables code example
Example 1: mysql show all tables
show tables;
Example 2: mysql command show tables
SHOW TABLES;
Example 3: show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
Example 4: list mysql tables and views
SHOW TABLES;
-- With type TABLE or VIEW
SHOW FULL TABLES;
Example 5: mysql command show tables
mysql -u user -p
Example 6: show tables mysql
Press CTRL+C to copy SHOW [EXTENDED] [FULL] TABLES
[{FROM | IN} db_name]
[LIKE 'pattern' | WHERE expr]