Hi, I have seen follwing query some where in google.
SELECT CASE WHEN 1=1 THEN 'A'
WHEN 2=2 THEN 'B'
ELSE 'C' END
Output: A
What is happening in the query?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted May 13, 2018, 7:37 AM
Suraj KumarPosted May 13, 2018, 10:16 AM