Q.. SELECT *
FROM abc
ORDER BY
CASE
WHEN condition1 THEN column1
WHEN condition2 THEN column2
ELSE column3
END;
1. We can not use Case satement in Order by clause here.
2.This Select query will give results.
3.Removing End staement will work.
4.None of These
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here:
Cookie Policy