可以通过information_schema库当中的columns表来查找字段所属的表名称
use information_schema;
select * from columns where column_name='NAME';

可以通过information_schema库当中的columns表来查找字段所属的表名称
use information_schema;
select * from columns where column_name='NAME';
本文标题:在MySQL数据库中查找字段所属的表
本文链接:https://www.haomeiwen.com/subject/kfwxqctx.html
网友评论