Multiple choice technology databases

If we are using UNION or UNION ALL then comment is necessary ?

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Comments are never mandatory for SQL code to execute. While adding comments is a good practice for code maintainability, UNION and UNION ALL operators work perfectly fine without comments. The statement incorrectly suggests comments are necessary.