Inserting rows into a table that have a relationship with other tables using foreign keys, it is a very basic functionality in SQL. On the other hand, in NoSQL engines where the queries are managed in documents (or views) instead of a relational way, it is not very common, but it is still necessary to have.