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.
It seems there is a bug with parsing the SQL syntax for this problem; the AS keyword causes a failure when it is perfectly valid. When aliasing the table name "City":
This works
City c
This does not
City AS c
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Average Population
You are viewing a single comment's thread. Return to all comments →
It seems there is a bug with parsing the SQL syntax for this problem; the
AS
keyword causes a failure when it is perfectly valid. When aliasing the table name "City":This works
City c
This does not
City AS c