mysql Ver 12.20 Distrib 4.0.13, for pc-linux (i686) Is this behavior OK?
mysql> select Sort FROM Bookmark where (UID='2' AND Up='0'); +------+ | Sort | +------+ | 1 | | 1 | | 2 | | 3 | | 4 | | 5 | | 6 | | 8 | | 9 | | 10 | | 11 | | 12 | | 13 | +------+ 13 rows in set (0.02 sec) mysql> select max(Sort) FROM Bookmark where UID='2' AND Up='0'; +-----------+ | max(Sort) | +-----------+ | NULL | +-----------+ 1 row in set (0.00 sec) mysql> Thank you for reply. Jozef Kutej. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]