Both statements are FALSE:
Reference: Stackoverflow
Relation : Table
A B C
Cat 10 False
Dog 25 True
Dog 20 False
Cat 5 False
Select A,count(*) from Table group by A,B
This will make both statements false.
But " Select A,C,count(*) from Table group by A,B " is not allowed it violetes the First Normal Form And it is undefined behaviour since DBMS from vendors apply different-different method to solve this problem.