|
|
Archives of the TeradataForum
Message Posted: Wed, 17 Sep 2003 @ 14:21:28 GMT
Subj: | | Re: GREATEST of N numbers |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Wednesday, September 17, 2003 09:55 -->
| Narayan Wrote : Doesn't MAXIMUM do what you want? Or is there something else that you are looking for. | |
I need function similar to GREATEST in oracle. We can use MAX agg function to find maximum of a field in a table. But I need
maximum of N numbers. For Example : If a table has n different amount fields (amount1, amount2, ....... Amount n), I need maximum of all the
amounts for each record in the table,
Thanks!
| |