January 8, 2009 at 12:53 pm
write a query to update column3 from table such that column3 contains
whatever be the greater value among column1 and column2 columns.
e.g
P_key Column1 Column2 Column3
1 20 30 -
2 20 25 -
3 30 20 -
So that, the column3 should contain 30, 25 30 resp.
January 8, 2009 at 12:58 pm
January 8, 2009 at 1:01 pm
January 8, 2009 at 1:18 pm
Thanks!
January 8, 2009 at 1:19 pm
Thanks
January 8, 2009 at 8:17 pm
I can't help getting the feeling that was homework and the OP didn't try.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply