CBSE Class 12 Informatics Practices Question 25 of 44

Solved 2025 Sample Question Paper CBSE Class 12 Informatics Practices (065) — Question 4

Back to all questions
4
Question

Question 24

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.

Answer

I. SELECT SUBSTRING('Database Management System', 10, 6);

II. SELECT INSTR('Database Management System', 'base');