Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lgsilver
· 4y ago · 0 comments
Most SQL dialects accept a positional or a direct reference to the column name. “1” represents the first column created by the select statement, “name”.
Comments
[–]
eatonphil
4y ago
Ah I see. Is that how `count(1)` also works? Or is that different.
[–]
xapata
4y ago
Different. SQL's syntax is funky.