mysql display table names by rules

SHOW TABLES
      WHERE tables_in_test NOT LIKE 'temp_%'
        AND tables_in_test LIKE '%_history'
Replace test with your DB name.

https://stackoverflow.com/questions/44088187/exclude-tables-in-show-tables-like-statement-in-mysql

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326117850&siteId=291194637