show table in 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 show table fields
DESCRIBE my_table;
Example 4: show table mysql
# First, select your database
USE yourDb;
# Then, simply
SHOW TABLES;
Example 5: mysql command show tables
SHOW TABLES;
Example 6: select tables from mysql database
SHOW TABLES from <databasename>;