Mid SQL

What are collections and databases in MongoDB?

  • Database: A container for collections. MongoDB allows you to have multiple

databases within the same instance.

  • Collection: A group of MongoDB documents. Collections are similar to tables in SQL

but don’t have a fixed schema.

More from SQL Server Tutorial

All questions for this course