SHOW TABLES statement with multiple LIKE values

后端 未结 4 1576
天涯浪人
天涯浪人 2020-12-24 07:09
mysql> SHOW TABLES like \'cms\';
+-------------------------+
| Tables_in_tianyan (cms) |
+-------------------------+
| cms                     |
+------------------------         


        
4条回答
  •  情歌与酒
    2020-12-24 07:31

    You take table list using the below code

    select TABLE_NAME from information_schema.TABLES where TABLE_SCHEMA = 'database_name' 
    

    Hope it will help you.

提交回复
热议问题