mysql按规则显示表名

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

猜你喜欢

转载自omyyal.iteye.com/blog/2415190