A

Admin • 833K Points
Coach

Q. What does this query return?

Code:
SELECT LENGTH('MySQL');
  • (A) 4
  • (B) 5
  • (C) 6
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

The `LENGTH()` function returns the length of a string in bytes. 'MySQL' has 5 characters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.