mysql中select column_name from Information_schema.columns where table_Name = 'test'出现多个字段的问题
在mysql中,通过sql查询某个表字段时,会出现一些这个表中没有的字段例:select column_name from Information_schema.columns where table_Name = 'test';因为这个表在其它库中也存在了,所以会出现多余的字段。解决办法:select column_name from Information_s
原创
2017-04-06 11:29:18 ·
15254 阅读 ·
6 评论