What is the final output of the following nested function? SELECT…
2026
What is the final output of the following nested function?
SELECT LENGTH(TRIM(' MySQL '));
Answer: A. 5 — The TRIM function removes leading and trailing spaces from ' MySQL ', resulting in the string 'MySQL'. The LENGTH function counts the characters in 'MySQL',…
- A.
5
- B.
6
- C.
7
- D.
11
Attempted by 776 students.
Show answer & explanation
Correct answer: A
The TRIM function removes leading and trailing spaces from ' MySQL ', resulting in the string 'MySQL'. The LENGTH function counts the characters in 'MySQL', which is 5.
Loading lesson…