SyntaxTerror
Technical User
If, in my select, I have something like
...Then how do I refer to that in the where clause?
I want to say...
...but it doesn't recognize the alias, so I try...
...but it won't take that either.
Workarounds?
Code:
SUM(Quantity) as TotalQty
I want to say...
Code:
WHERE TotalQty IS NOT NULL
Code:
WHERE sum(Quantity) IS NOT NULL
Workarounds?