How can I insert data into two different tables with a single request?

A row in the db.
And when I’m creating that row in the table, I would also like to create multiple rows in another table.