Lab 4.1
In this lab you're going to use the equality, sort, range rule to determine which index best supports a given query.
Given the following query:
Choose the best answer.
Answer:
As per the equality, sort, range rule below is the best option:
Given the following query:
db.accounts.find( { accountBalance : { $gte : NumberDecimal(100000.00) }, city: "New York" } )
.sort( { lastName: 1, firstName: 1 } )
Which of the following indexes best supports this query with regards to the equality, sort, range rule.Choose the best answer.
Answer:
As per the equality, sort, range rule below is the best option:
Comments
Post a Comment