[snip] As there is no TOP operator nor nested selects in MySQL, I wonder if there still exists some clever way to make"top ten" type of a query , i.e. to select ten best selling products or ten highest mountains for example. [/snip]
Have you tried SELECT product, MAX(quantity) FROM productTable LIMIT 10 HTH! Jay sql, mysql, query --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php