title: ERROR : argument of AND must be type boolean, not type text
body: <p>I got confused with my query bellow ,what's wrong with it, please?</p>
  
  <pre><code>SELECT * FROM my_table 
  WHERE 
      col_A &lt;&gt; 'Hello'
      AND col_B &lt;&gt; 'Holla'
      AND col_B &lt;&gt; 'Bonjour'
  
      AND (CASE WHEN col_c = 6 AND Language_col = 'Fr'THEN 'Français'
         WHEN col_c  = 9  AND Language_col = 'Fr'THEN 'Français'        
         WHEN col_c  = 12 AND Language_col = 'Eng' THEN 'English'
         WHEN col_c  = 4 AND Language_col = 'US' THEN 'Engish'
         ELSE Language END)
  
  order by Date_col  
  </code></pre>
  
  <p>I get this type of error : </p>
  
  <blockquote>
    <p>ERROR: argument of AND must be type boolean, not type text</p>
  </blockquote>