CBSE Class 12 Informatics Practices Question 24 of 81

MySQL Functions — Question 6

Back to all questions
6
Question

Question 6

Which of the following functions returns the position of a substring in a given string ?

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

INSTR

Reason — The INSTR() function searches for given second string into the given first string and returns the position.