SHOW TABLES command is used to list all tables in the current or a specific database.
SHOW TABLES [IN db_name];
Parameter |
Description |
---|---|
IN db_name |
Name of the database. This parameter is required only when tables of this specific database are to be listed. |
IN db_Name is optional.
SHOW TABLES IN ProductDatabase;
All tables are listed.