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?
2024-2025 (March) Set 4
