W wtiebo Unregistered / Unconfirmed GUEST, unregistred user! 1999-03-27 #1 我要统计数据库中的一个字段,并返回其值,然后将值赋给另一 字段.请问该怎么做? 我不大懂SQL! 谢谢!
X xixi Unregistered / Unconfirmed GUEST, unregistred user! 1999-03-27 #2 Update Table_A Set Table_A_Field_X = (Select Sum(Table_B_Field_Y) From Table_B); Where Table_A_Filed_Z = 'XXX';
Update Table_A Set Table_A_Field_X = (Select Sum(Table_B_Field_Y) From Table_B); Where Table_A_Filed_Z = 'XXX';
W wtiebo Unregistered / Unconfirmed GUEST, unregistred user! 1999-03-27 #4 To CJ: 明细表结构,对于主表中的每条纪录,细表中有由若干条与之对应. 我要的是对细表的每一组纪录分别sum并<h2>得到其值</h2>. 谢谢!