I have a problem with a query
When inquired without (case when) The result appears correctly
When inquiring with (case when) Get an error message