I have seen this done when moving a table, but it uses the entire select subquery as the values input. I need to do something similar to this:
INSERT INTO customer_alerts
(message, customer_id)
VALUES
("Message HERE", (SELECT Customer.id from Customers as Customer))
Any ideas on how to achieve this?
Use:
You can statically define values in the
SELECTclause.