fajitapete
MIS
Help!! I am at a loss, thought I new some of this but havent a clue as to what is wrong here.
SELECT distinct values
FROM LOGGING.DBO.FIRST_CALL
this yeilds a count of 150432
but if I say
SELECT values, count(values) as counted
FROM LOGGING.DBO.FIRST_CALL
group by values
having count(values) = 1
this yeilds a count of 123478
Icheck for nulls and other than that I can not determine why the counts are different. HELP and thanks
SELECT distinct values
FROM LOGGING.DBO.FIRST_CALL
this yeilds a count of 150432
but if I say
SELECT values, count(values) as counted
FROM LOGGING.DBO.FIRST_CALL
group by values
having count(values) = 1
this yeilds a count of 123478
Icheck for nulls and other than that I can not determine why the counts are different. HELP and thanks