Can Case When Be Used In Where Clause?
Can Case When Be Used In Where Clause? CASE can be used in any statement or clause that allows a valid expression. For example, you can use CASE in statements such as SELECT, UPDATE, DELETE and SET, and in clauses such as select_list, IN, WHERE, ORDER BY, and HAVING. Is it possible to use a