Given the following table \'foo\'
foo
ID | First Name | Last Name ---------------------------- 67 John Smith ---------------------------- 6
It's very likely that the second (last) row's first name and last name will be picked.
You can add an ORDER BY clause to give hints on how you'd like the grouped rows to be sorted.