By default, MySQL will return the value of the first row it encounters when executing a query. It kind of uses the default aggregate arbitrary.
This is useful if you have a long list of columns in which you know that most of them are repeated, for example:
Login LongName City PhoneNr Time
Dude Mr. Dude the 2nd Jerk Town 12345678 13:01
Dude Mr. Dude the 2nd Jerk Town 12345678 13:05
Dude Mr. Dude the 2nd Jerk Town 12345678 13:12
group by login:
select LongName, City, PhoneNr, max(Time) from Logins group by login
, Long Name Login, , . , , group by login, LongName, City, PhoneNr. MySQL, .