摘要: 查询 db.getCollection("McMsg").find({ $and : [{"msgRecvstatus" : "U"}, {"msgOpenstatus" : "Y"}]})db.getCollection("表名").find({ $and : [{"字段" : "字符"}, {" 阅读全文
posted @ 2021-08-24 11:37 月光之下 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 1、根据表查询所在数据库select table_schema from information_schema.tables where table_name ='你要查询的表名(注意要使用大写字母)';select table_schema from information_schema.tabl 阅读全文
posted @ 2021-08-24 11:32 月光之下 阅读(32) 评论(0) 推荐(0) 编辑