Hi all,
I want to do this, SELECT COUNT (a.artID) AS LCNT FROM (SELECT DISTINCT a.artID FROM pages p WHERE p.siteID = 1) Any ideas how to make this MySQL friendly? Cheers, Nick _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com --------------------------------------------------------------------- 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