• 2022-06-01
    查询软件开发专业成绩在80分(包含)以上的学生人数,正确的语句是?
    A: db.students.find({"major":"软件开发","score":{$gt:80}}).count()
    B: db.students.find({"major":"软件开发","score":{$gte:80}}).count()
    C: db.students.find({"major":"软件开发","score":{$gte:80}})
    D: db.students.find({$or:[{"major":"软件开发"},{"score":{$gte:80}}]}).count()