摘要:
我们再添加一个游泳的人,并用$in查询游泳的人 db.user.find({"hobby":{"$in":["swimming"]}},{"_id":0}){ "hobby" : "swimming", "gender" : "female" }{ "hobby" : "swimming", ... 阅读全文
摘要:
$in可以查询一个键的多个值 举例,每个人有爱好,假定为一个,数据太多,咱们用第二个参数来过滤一下 db.user.find({},{"_id":0}){ "hobby" : "swimming", "gender" : "female" }{ "hobby" : "dancing", "ge... 阅读全文
摘要:
生成发票的关键sql语句 SELECT v1.FInterID,u1.FEntryID,v1.FHookStatus FROM ICStockBill v1 INNER JOIN ICStockBillEntry u1 ON v1.FInterID=u1.FInterID WHERE 1=1 ... 阅读全文