Complete the code to select all documents from a MongoDB collection named 'users'.
db.users.[1]()In MongoDB, the find() method retrieves all documents from a collection.
Complete the code to insert a document with name 'Alice' into the 'users' collection in MongoDB.
db.users.[1]({"name": "Alice"})
The insertOne() method inserts a single document into a MongoDB collection.
Fix the error in the MongoDB query to find users older than 25.
db.users.find({"age": {"[1]": 25}})MongoDB uses $gt to represent 'greater than' in queries.
Fill both blanks to create a key-value pair in a Redis command to set the key 'user:1' with value 'Alice'.
SET [1] [2]
Redis SET command syntax is SET key value. Here, key is 'user:1' and value is 'Alice'.
Fill all three blanks to create a Cassandra CQL query that selects all columns from the 'employees' table where 'department' equals 'sales'.
SELECT [1] FROM [2] WHERE [3] = 'sales';
In Cassandra CQL, SELECT * selects all columns, FROM employees specifies the table, and WHERE department = 'sales' filters rows.