I've written SQL count statements before but I need to write a query which returns 2 sets of count values for a condition. The original query counts the amount of people for a company who have invalid information, fine, works great. I now need to extend this query so that it performs the above operation but also includes the total count of people.
So for instance, I'll get a result for Company A of 5 invalid people out of a total of 10.
I'm using a group by on my first query on company id.
Is it possible to include 2 count values?
Edit 1
Probably should have said, I'm using MySQL.