Note:
the first statement is not a proper SQL statement. You can only select columns by which you group, or on which you use aggregates.
SELECT MAX(field) FROM table GROUP BY otherfield;
is correct,
SELECT field FROM table GROUP BY othertable
is not.
Yes MySQL will accept both, but that is because MySQL is convenient rather than good 🙂