English

Write a SQL query for the following: To display the position of first occurrence of ‘com’ in the string ‘mycommercial.com’. - Informatics Practices

Advertisements
Advertisements

Question

Write a SQL query for the following:

To display the position of first occurrence of ‘com’ in the string ‘mycommercial.com’.

Code Writing
Advertisements

Solution

SELECT INSTR(‘mycommercial.com’, ‘com’);

shaalaa.com
  Is there an error in this question or solution?

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×