Q. What does this query return?

Code:
SELECT LENGTH('MySQL');
  • (A) 4
  • (B) 5
  • (C) 6
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 5
Explanation: The `LENGTH()` function returns the length of a string in bytes. 'MySQL' has 5 characters.
Explanation by: Mr. Dubey
The `LENGTH()` function returns the length of a string in bytes. 'MySQL' has 5 characters.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate