show tables in database mysql code example
Example 1: mysql show all tables
show tables;
Example 2: mysql show table structure
DESCRIBE table_name; # To show table structure...
Example 3: mysql command show tables
SHOW TABLES;
Example 4: show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
Example 5: select tables from mysql database
SHOW TABLES from <databasename>;
Example 6: mysql command show tables
mysql -u user -p