Hi, how would I combine these two queries into one?
I don't want the count of groups, but the count of records involved (for example, 200 records may be 5 groups, I need the "200". Thanks!
Code:
SELECT myfield, COUNT(myfield) "count"
FROM mytable
GROUP BY myfield
SELECT COUNT(myfield)
FROM mytable