I am trying to compare value with an alias but it says scolumn not recognized. Docs says cant use alias in where clause
with CTE AS ( Select StockCode as TopP