https://blog.csdn.net/xiao__ge/article/details/56671221
The statement is as follows:
- SELECT count(TABLE_NAME) FROM information_schema.TABLES WHERE TABLE_SCHEMA='dbname';
where dbname is the name of the database to be viewed.
View the table structure:
- description tbname;
A shorthand can also be used:
- desc tbname;