Informatics Practices
Consider the string: "Database Management System". Write suitable SQL queries for the following:
I. To extract and display "Manage" from the string.
II. Display the position of the first occurrence of "base" in the given string.
SQL Queries
2 Likes
Answer
I. SELECT SUBSTRING('Database Management System', 10, 6);
II. SELECT INSTR('Database Management System', 'base');
Answered By
1 Like
Related Questions
What does the term 'library' signify in Python? Mention one use for each of the following libraries:
- Pandas
- Matplotlib
What are intellectual property rights (IPR), and why are they important in the digital world?
What is Internet and how does it differ from World Wide Web (WWW)?
Explain the concept of browser cookies and mention one advantage of using them.