What is happening when using another column in SELECT than in the GROUP BY statement?
eg
SELECT Name from Employee GROUP BY City
It seems that the size of the output depends on the unique City elements and if you are having more than one Name per City, it seems that only the first name will be returned.
What is the meaning behind such a phrase and why is it working?
I tried the statement SELECT CustomerName FROM Customers GROUP BY City;
at the W3S SQL sandbox