We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The execution of any sql query starts with from clause then group by then so on...
But, here in group by you have used alias name, I didn't understand how it worked , How groupby is aware about alias name.
I have verified and it is giving correct output
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Top Earners
You are viewing a single comment's thread. Return to all comments →
The execution of any sql query starts with from clause then group by then so on... But, here in group by you have used alias name, I didn't understand how it worked , How groupby is aware about alias name.
I have verified and it is giving correct output