挿入に複数の選択ステートメントまたは値を含めることができる必要があります。2 番目の列名 (notication_timestamp) を削除すると、次のように機能します。
insert into notification (msg,notification_timestamp) select msg from data;
言えるようになりたい:
insert into notification (msg,notification_timestamp) values (select msg from data,now());
しかし、それはうまくいきません。何か案は?