博客文章移至这里
查询数据库中所有表名称的语句(参考: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.youkuaiyun.com/lein_wang/article/details/8282630):
select * from INFORMATION_SCHEMA.columns where COLUMN_NAME Like '%placement%';