MySQL Forums
Forum List  »  Newbie

Re: LIMIT result for paging
Posted by: Peter Brawley
Date: November 30, 2014 11:41PM

select count(distinct catalogID) from tbl1;

If the table is big, you'll get better performance from the Where clause than from Limit.

Options: ReplyQuote


Subject
Written By
Posted
November 30, 2014 04:17PM
Re: LIMIT result for paging
November 30, 2014 11:41PM
December 01, 2014 02:57AM
December 01, 2014 09:43AM
December 02, 2014 02:58AM
December 02, 2014 06:18AM
December 02, 2014 09:52AM


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.