Bird
0
0

Which keyword is mandatory to end a searched CASE expression in SQL?

easy📝 Conceptual Q2 of 15
SQL - CASE Expressions
Which keyword is mandatory to end a searched CASE expression in SQL?
ASTOP
BEND
CFINISH
DCLOSE
Step-by-Step Solution
Solution:
  1. Step 1: Recall searched CASE syntax

    A searched CASE expression starts with CASE and must end with END.
  2. Step 2: Identify the correct ending keyword

    The keyword END marks the end of the CASE expression.
  3. Final Answer:

    END -> Option B
  4. Quick Check:

    CASE ends with END keyword [OK]
Quick Trick: Always close CASE with END keyword [OK]
Common Mistakes:
  • Using FINISH or STOP instead of END
  • Omitting the END keyword
  • Confusing END with ELSE

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes