Yes there will be only one ALT_ID under a ALT_ID_TYPE_CODE for an ACCOUNT..
Thanks, Sachin. But under my requirements I am not allowed to use a group by on over all select. So this is were it gets messy. This is why I raised a post here. So is there any other method like using stored procs etc.,. to get the data like above?
↧