I need to be able to have multiple select statements or values for my insert. The following works if I remove the second column name (notication_timestamp).
insert into notification (msg,notification_timestamp) select msg from data;
I want to be able to say:
insert into notification (msg,notification_timestamp) values (select msg from data,now());
But that doesn’t work. Any ideas?
you didn’t put
notification_timestampon select querySo it may