myCompiler myCompiler
Deutsch English Español Français Italiano 日本語 한국어 Nederlands Polski Português
Recent
Login Sign up
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

Supported languages

Deno JavaScript NodeJS Python Ruby Go C C++ Java C# TypeScript PHP Bash R Octave (MATLAB) Fortran Lua Erlang SQL MySQL MongoDB Clojure D Perl Kotlin Swift Rust Assembly
© 2026 mycompiler.io
Terms of service Privacy policy Contact us