Q. What does this query return?

Code:
SELECT SUBSTRING('MySQL', 2, 3);
  • (A) MyS
  • (B) ySQ
  • (C) ySQL
  • (D) SQL
πŸ’¬ Discuss
βœ… Correct Answer: (B) ySQ
Explanation: `SUBSTRING(str, pos, len)` returns part of a string starting at position `pos` with `len` characters.
Explanation by: Mr. Dubey
`SUBSTRING(str, pos, len)` returns part of a string starting at position `pos` with `len` characters.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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