【MySql】查询数据库中所有表及表中是否存在指定列方法
查询数据库中所有表名称的语句 select table_name, table_type, engine …
查询数据库中所有表名称的语句
select table_name, table_type, engine from information_schema.tables where table_schema = 'my_blog' order by table_name desc;
查找mysql数据库中所有包含特定名字的字段所在的表
select * from information_schema.columns where column_name like '%placement%';
类别:MySQL、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
评论功能已经关闭!