2013-07-27 42 views

回答

1

你沒有指定你的表結構,但一般可以做到這一點

insert into notifications (some_column, other_column) 
select username, other_column 
from users 
+0

感謝,不錯,你的代碼之前,我試圖讓所有的用戶,然後在一段時間環之間插入味精到通知表,而循環結束。 –

相關問題