This is to PRINT, from dbo.Emp, the total number of records, per unique value
I did it this way: SELECT field1, COUNT() records FROM dbo.Emp GROUP BY field1 HAVING SUM()
This is to PRINT, from dbo.Emp, the total number of records, per unique value
I did it this way: SELECT field1, COUNT() records FROM dbo.Emp GROUP BY field1 HAVING SUM()