MySQL Forums
Forum List  »  Performance

Re: WHY : select count(*) not returning any results?
Posted by: sharda salvi
Date: March 12, 2014 12:34AM

Why not just select a specific column instead of using inefficient *?
like this: select count(`id`) from `my_table`;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: WHY : select count(*) not returning any results?
876
March 12, 2014 12:34AM


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.