Re: Search Page question

From: Date: Thu, 18 Jul 2002 23:16:57 +0000
Subject: Re: Search Page question
Groups: php.general 
Request: Send a blank email to php-general+get-108376@lists.php.net to get a copy of this message
>I was looking at using the LIMIT feature in MySQL, but the MySQL manual said >that if you use ORDER BY with LIMIT in the same SELECT it does the LIMIT >before the ORDER BY. Therefore it does the limit then orders the limit list >only, not order the entire list then returns the limit from that. Is this >true? In my experience, it does the ORDER BY and then the LIMIT. Or, at least, that's what comes out of the browser. They *MIGHT* be doing something so that after they find the first 10 records (or whatever your LIMIT is) they *QUIT* sorting all the others, since there's not much point to sorting records you ain't gonna be getting anyway, is there? -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#108376) next »