4 Replies Latest reply on Dec 12, 2016 7:41 AM by John John

    Can we use a case statement in custom sql

    John John

      I am trying to use a case statement in custom sql, but I am facing an error which says Unrecognized keyword when !!

       

      I am trying to do something like this

       

      Select *, case when class="second" then "II" end as temp

       

      Thank you in advance.