2013-07-27 44 views

回答

1

你没有指定你的表结构,但一般可以做到这一点

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

感谢,不错,你的代码之前,我试图让所有的用户,然后在一段时间环之间插入味精到通知表,而循环结束。 –

相关问题