I use this code to run a frequency:
select county,city,zip, cnt(*) as qty from testfile ;
group by county,city,zip into cursor mike
My problem is I get duplicate city names in my select file.
like this:
COUNTY CITY ZIP QTY
ORANGE ANAHEIM 92645 2
ORANGE ANAHEIM 92645 1
ORANGE BREA 92666 9
What am I not doing corrcty?
Thanks in advance,
Mike
select county,city,zip, cnt(*) as qty from testfile ;
group by county,city,zip into cursor mike
My problem is I get duplicate city names in my select file.
like this:
COUNTY CITY ZIP QTY
ORANGE ANAHEIM 92645 2
ORANGE ANAHEIM 92645 1
ORANGE BREA 92666 9
What am I not doing corrcty?
Thanks in advance,
Mike