How can I limit a count to stop when he reaches 200 rows?

SELECT COUNT(*) FROM tbl WHERE where_clause;    => returns 3500

I want to stop the counting when it reaches to 200, so MySQL will not search
further to count all the 3500 rows..


thanks,
-Lorderon.



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to