You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
If alias is a column name then group by queries doesn't work:
SELECT commit_hash AS`commit_hash`FROM commits GROUP BY commit_hash;
SELECTSUBSTRING(`commits`.`commit_hash`, 1, 1024) AS`commit_hash`FROM commits GROUP BY commit_hash;
we get an error: unknown error: table "commits" does not have column "commit_hash"
if we change alias name to something else, e.g.: SELECT commit_hash AS foo FROM commits GROUP BY foo;
Everything works fine.
The text was updated successfully, but these errors were encountered:
If alias is a column name then
group by
queries doesn't work:we get an error:
unknown error: table "commits" does not have column "commit_hash"
if we change alias name to something else, e.g.:
SELECT commit_hash AS
fooFROM commits GROUP BY foo;
Everything works fine.
The text was updated successfully, but these errors were encountered: