What I\'m trying to do is use more than one CASE WHEN condition for the same column.
Here is my code for the query:
SELECT Url=\'\',
You can use below example of case when with multiple conditions.
SELECT id,stud_name, CASE WHEN marks <= 40 THEN 'Bad' WHEN (marks >= 40 AND marks <= 100) THEN 'good' ELSE 'best' END AS Grade FROM Result