|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Thu, 20 May 2004 @ 21:14:14 GMT
 
 <-- Anonymously Posted: Thursday, May 20, 2004 16:56 --> Did you try - 
     (cast(c.local_hhld_univ as decimal(15,2)) / cast(cs.natl_hhld_univ as decimal(15,2))) as Market_Alloc,
For second problem try having some dummy avg or min or max func to avoid the group by. Thanks. 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||