MySQL Forums
Forum List  »  Performance

Re: count(*) or count(id)
Posted by: Peter Brawley
Date: June 28, 2016 05:18PM

As the manual says, Count(*) returns a rowcount, Count(expr) returns the count of unique non-null values of expr.

Options: ReplyQuote


Subject
Views
Written By
Posted
909
June 28, 2016 06:22AM
425
June 28, 2016 06:26AM
Re: count(*) or count(id)
393
June 28, 2016 05:18PM
452
July 04, 2016 01:04PM
410
July 06, 2016 12:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.