If I have an SQL query like this one:
SELECT playerno,town
FROM players
GROUP BY town
In this case, the server will return lets say one town, and for playerno, it will return one value, even if there were multiple values in the database.
My question is, which value will be chosen? Is the choice made randomly, or will it take the first result, or something else will happen? Thank you.