Re: count(*) with NULLs involved

From: Ron Moeller <rmoeller_at_ladc.lockheed.com>
Date: 1996/11/01
Message-ID: <327A8DCC.2721_at_ladc.lockheed.com>#1/1


Two simple solutions work for me:

select count(*) from test_table
 where column_X not in ('B','C')

    or column_X is null;

  select column_X, count(*)
    from test_table
group by column_X;

Ron Received on Fri Nov 01 1996 - 00:00:00 CET

Original text of this message