myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
M
@MusaN03
Record of the books borrowed
MongoDB
11 hours ago
// Remove the fine record for the member who paid db.fines.deleteOne({ memberId: "M001", ISBN: "ISBN1234567890", amount: 50 });
totalRevenue
MongoDB
11 hours ago
// Sum all fine amounts from the fines collection db.fines.aggregate([ { $group: { _id: null, totalRevenue: { $sum: "$amount" } } } ]);
Q2.3
MongoDB
13 hours ago
// Query for books published after 2026 db.books.find({ publicationYear: { $gt: 2026 } });
EduvosLibraryDB
MongoDB
1 day ago
// AUTHOR collection db.AUTHOR.insertMany([ { authorID: 1, firstName: "John", lastName: "Doe" }, { authorID: 2, firstName: "Jane", lastName: "Smith" } ]); // BOOKAUTHOR collection db.BOOKAUTHOR.insertMany([ { ISBN: "978-3-16-148410-0", author
Previous
Next page