angela4eva
Programmer
i have stored orocedure
select amount, desc,count(desc) as cnt from emp
group by desc
but some of the values in desc is null..
so i guess its not getting counted
i am getting like
amount desc cnt
1000 aaj 22
500 0
HOW CAN I COUNT THE NUMBER OF RECORDS WITH NULL THAT made up the 500 amount and also put the vount in the count column ..any help apprecited
select amount, desc,count(desc) as cnt from emp
group by desc
but some of the values in desc is null..
so i guess its not getting counted
i am getting like
amount desc cnt
1000 aaj 22
500 0
HOW CAN I COUNT THE NUMBER OF RECORDS WITH NULL THAT made up the 500 amount and also put the vount in the count column ..any help apprecited