Welcome to Database Laboratory
Welcome to Database Laboratory
DBMS Lab Manual
Assignment 4: Write and execute suitable database triggers and Joins
Assignment Questions
Database Trigger :
Database Joins:
Assignment 5: Execute DDL/DML statements which demonstrate the use of views, cursor.
Assignment Questions
Views:
Cursors:
Assignment 6: Create a database with suitable example using MongoDB
Assignment Questions
Inserting and Saving Documents:
Removing and Updating Documents:
Assignment Questions
1. Query Criteria and Cursors:
Describe the use of MongoDB query conditionals, such as `$eq`, `$gt`, `$lt`, and `$in`. Provide an example where you need to find documents that meet specific criteria using these conditionals. Additionally, show how you can limit the number of returned documents using the `limit` and `skip` options.
2. Advanced Query Options and Database Command
Explore the use of database commands in MongoDB. Explain the purpose and syntax of a specific MongoDB database command, such as `db.collection.createIndex()` or `db.collection.aggregate()`. Provide a practical example where this command is useful and describe the expected outcomes when using it in a MongoDB database.