Question 4:- SQL MCQs - AI HintsToday

Question 4:- SQL MCQs

Home Forums SQL Discussion SQL Question Answer Adda Question 4:- SQL MCQs

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #587
    Team AHT
    Keymaster

      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

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.