Question: Which SQL statement below does the following MongoDB script most closely correspond to ? db . students.find ( { age: 1 8 } , {

Which SQL statement below does the following MongoDB script most closely correspond to?
db.students.find({age: 18},{name: 1,_id :0})
Group of answer choices
SELECT name
FROM students
WHERE age=18
SELECT *
FROM students
WHERE age=18 AND name IS NOT NULL;
SELECT *
FROM students
WHERE age=18 AND name=1 AND _id=0;
SELECT age
FROM students
WHERE name IS NOT NULL;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!