Why are you not allowed to refer to a column alias defined by the SELECT clause in the WHERE clause?

You not allowed to refer to a column alias defined by the SELECT clause in the WHERE clause, because the WHERE clause is logically evaluated in a phase earlier to the one that evaluates the SELECT clause.

This is the reason that below statement will not work: 


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.