I have a VIEW for which I use a certain SELECT statement, where there is a CASE condition, which, based on some condition being TRUE o
VIEW
SELECT
CASE