H
Herbert Chan
Hi,
I have a table with the field name CONT_NO. And I have a list of value which
are NIL, HCC302, LDB201, CV/2001/02, etc.
I can now make the following query to get the count of each CONT_NO:
SELECT CONT_NO, COUNT(*) AS ContractCount FROM TABLE GROUP BY CONT_NO;
However, I am now only interested in getting the number of "NIL" and the
number of values that are not "NIL".
How can I do that???
Thanks in advance.
Herbert
I have a table with the field name CONT_NO. And I have a list of value which
are NIL, HCC302, LDB201, CV/2001/02, etc.
I can now make the following query to get the count of each CONT_NO:
SELECT CONT_NO, COUNT(*) AS ContractCount FROM TABLE GROUP BY CONT_NO;
However, I am now only interested in getting the number of "NIL" and the
number of values that are not "NIL".
How can I do that???
Thanks in advance.
Herbert