Quote Originally Posted by cano View Post
I looked at your SQL statement. You must use aggregate function on columns not included in GROUP BY.
Must or should? I think it's working.