I have written a count function that gives a reuslt of count of each client. How can I get he total of all the counts.
Here is the SQL.
select count(*) as Records, ctrn_cldt_clnt_id, ctrn_apply_code, ctrn_transaction_type_code_txt
from ctrn
where ctrn_cldt_clnt_id in (2201, 3002, 3014,5803...