title: Case when condition in SQL Server 2017
body: <p>I want to execute a condition in SQL Server but it doesn't work.</p>
  
  <p>This is my code</p>
  
  <p><a href="https://i.stack.imgur.com/BfbGl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BfbGl.png" alt="enter image description here"></a></p>
  
  <p>Can you help me please ?</p>