SQL Server : column alias accessing -
I have a question that looks like this: choose
(numberLateOrders / numberOf Order) percent
Now I wanted to be able to add a where
section and reach the column nickname percentFailed
though it seems the nickname The query is not being recognized until it is completed. Is this true and / or has any work for it?
Thank you!
to add to existing replies
or Select it with a sub-query
Select percentage (select number wave-rollers / number of orders), fail with percentage orders) where the percentage is & gt; 0
Comments
Post a Comment