Using alias in 'where' clause
Closed this issue · 2 comments
sapraaman commented
How do we achieve the following?
select a, fn(b) as c from table where c > 10
Any ideas? Thanks in advance.
brianc commented
This should be what you're looking for:
https://github.com/brianc/node-sql/blob/master/test/dialects/namespace-tests.js#L43