> where ID = count() <= 5 , if .......... > > In other words Count wouldn't be looking for an ID > with a value of 5, but the number of records the ID > has in the table .
SELECT count(*) AS users_records_number FROM table WHERE user_id = 5; -- <mack /> -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]