I have two tables: message
and message_content
:
message
id | customer_id | creation_time | msg_headline | status | order_id
message_content
message_id | msg | creation_time | employee_id
When I insert new data I need to create a record in both tables (linked by id
resp. message_id
). Is it possible to achieve that using a single statement?