Posted by ZeldorBlat on 11/01/05 18:46
Try this: update A, (select B.b1, max(B.b2) b2 from B group by B.b1 ) as x set A.a2 = x.b2 where A.a1 = x.b1
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming