Does the order of columns matter in a group by clause?

No, the order doesn’t matter for the GROUP BY clause.

MySQL and SQLite are the only databases I’m aware of that allow you to select columns which are omitted from the group by (non-standard, not portable) but the order doesn’t matter there either.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)