diff --git a/Practical/Assignment-B1/Queries-B1.md b/Practical/Assignment-B1/Queries-B1.md index 561aafc..b4f4d0b 100755 --- a/Practical/Assignment-B1/Queries-B1.md +++ b/Practical/Assignment-B1/Queries-B1.md @@ -152,7 +152,7 @@ db.Employee.insertMany([ db.Employee.find({ Designation: "Programmer", Salary: { $gt: 30000 } }) ``` -2. Create a new document if no document contains `{Designation: "Tester", Company_name: "TCS", Age: 25}`: +2. Create a new document if no document contains `{Designation: "Tester", Company_name: "Y-Space", Age: 25}`: ```mongodb db.Employee.update( { Designation: "Tester", Company_name: "Y-Space", Age: 25 }, @@ -174,7 +174,7 @@ db.Employee.find({ Address: { $elemMatch: { city: "Pune", Pin_code: "411001" } } ``` -5. Find all documents with Company_name "TCS" and modify their salary by 2000: +5. Find all documents with Company_name "Oscorp" and modify their salary by 2000: ```mongodb db.Employee.updateMany( { Company_name: "Oscorp" }, @@ -189,7 +189,7 @@ db.Employee.find({ Designation: { $ne: "Developer" } }) ``` -7. Find _id, Designation, Address, and Name where Company_name is "Infosys": +7. Find _id, Designation, Address, and Name where Company_name is "Wayne Industries": ```mongodb db.Employee.find( { Company_name: "Wayne Industries" }, diff --git a/Practical/Assignment-B1/Softcopy-B1.pdf b/Practical/Assignment-B1/Softcopy-B1.pdf index 1584f0b..e53c234 100644 Binary files a/Practical/Assignment-B1/Softcopy-B1.pdf and b/Practical/Assignment-B1/Softcopy-B1.pdf differ