What is Case statement in SQL and Is it same as IF/ELSE statement?
Yes, it kind of is same as IF/ELSE statement but instead of writing IF/ELSE, we use WHEN, THEN and ELSE. I know it sounds different but trust me it pretty much has the same function and it all comes under the SQL CASE Statement.
CASE returns records ...
abhishk.hashnode.dev4 min read