有时候,比如备份数据库,需要排除一些表
SHOW TABLES WHERE Name NOT LIKE 'tree%';
http://stackoverflow.com/questions/3698891/mysql-what-is-the-right-syntax-for-not-like
http://stackoverflow.com/questions/4432062/matching-tables-name-with-show-tables
有时候,比如备份数据库,需要排除一些表
SHOW TABLES WHERE Name NOT LIKE 'tree%';
http://stackoverflow.com/questions/4432062/matching-tables-name-with-show-tables