«
Prev
»
Next
Database / MongoDB Interview questions
Difference between SQL and No-SQL terminologies.
| SQL Terms/Concepts. | MongoDB Terms/Concepts. |
| database. | database. |
| table. | collection. |
| row. | document or BSON document. |
| column. | field. |
| index. | index. |
| table joins. | $lookup, embedded documents. |
| primary key. | primary key. |
| Specify any unique column or column combination as primary key. | In MongoDB, the primary key is automatically set to the _id field. |
| aggregation (for example, group by). | aggregation pipeline. |
More Related questions...
Comments & Discussions