CBSE Class 12 Informatics Practices Question 23 of 81

MySQL Functions — Question 5

Back to all questions
5
Question

Question 5

Which of the following functions returns the substring from a given string ?

  1. MID
  2. INSTR
  3. SUBSTR
  4. CHAR
Answer

MID, SUBSTR

Reason — The SUBSTRING()/SUBSTR() and MID() functions can be used to extract substrings from a given string.