|
|
Archives of the TeradataForum
Message Posted: Mon, 17 Mar 2003 @ 15:52:55 GMT
Subj: | | Re: Several count(distinct) in one select clause |
|
From: | | Michael Larkins |
Philippe:
I believe that I have heard that the restriction for only using one column in a SELECT for all aggregate functions involving a DISTINCT
is lifted in V2R5. So, if this is true, it sounds like you are on a prior release.
If you need to do this in a single request before V2R5, I suggest you use one derived table per needed per DISTINCT aggregate value.
Then, you can join the derived tables together to consolidate the final output.
Regards, Mike
| |