Is there a way to remove the statement 'select count(*).....' because the rows are not ordered by clnt_id, acct_id and pty_id and the goal is to get them in order. How do I do this?


Thanks.