博客文章移至這裏
查詢數據庫中所有表名稱的語句(參考:http://zhidao.baidu.com/question/535813537.html )
SELECT table_name, table_type, engine
FROM information_schema.tables
WHERE table_schema = '數據庫名稱'
ORDER BY table_name DESC;
查找mysql數據庫中所有包含特定名字的字段所在的表(參考:http://blog.csdn.net/lein_wang/article/details/8282630):
select * from INFORMATION_SCHEMA.columns where COLUMN_NAME Like '%placement%';