Resolved: SELECT first_name FROM employees GROUP BY first name did not work properly
Hi, unfortunately after running this query I got a lost of first names of employees not in Alphabetical Order like in Your video, just random names.
There was no error however just no alph.order. Why so?
Ups....tried again and experimented, it worked out only with the line ORDER BY first_name ASC. Strange, I assume this Mysql version just needs it.
Had the same problem and figured it out just like you did. In the initial description, he does say GROUP BY has to be used with the ORDER BY clause. But in his demo, he doesn't do it, but it works all the same. Not sure what the real problem is.
Hi Anna and Puvanan!
Thanks for reaching out.
I am glad that you have resolved your issue. We need the ORDER BY clause.
Hope this helps.