A

Admin • 833.24K Points
Coach

Q. What does this query return?

Code:
SELECT SUBSTRING('MySQL', 2, 3);
  • (A) MyS
  • (B) ySQ
  • (C) ySQL
  • (D) SQL
  • Correct Answer - Option(B)
  • Views: 30
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

`SUBSTRING(str, pos, len)` returns part of a string starting at position `pos` with `len` characters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.