• 2022-11-03
    查询天心区的男学生的信息,正确的命令是?
    A: db.students.find({"address":"天心区"},{"sex":"男"})
    B: db.students.find({"address":"天心区","sex":"男"})
    C: db.students.find({$and:{"address":"天心区","sex":"男"}})
    D: db.students.find({$and:[{"address":"天心区"},{"sex":"男"}]})
  • 举一反三