describe substring comparison in sql for the


Describe substring comparison in SQL. For the relation Person (name, address), write a SQL query that retrieves the names of people whose name starts along with ‘A' and address contains ‘Bangalore'?

SUBSTR is used to extract a set of characters from a string through specifying the character beginning position and end position and length of characters to be fetched.

example substr('hello',2,3) will return 'ell'
Select name
from Person
where name like ‘A%' and address = ‘Bangalore'

Request for Solution File

Ask an Expert for Answer!!
Database Management System: describe substring comparison in sql for the
Reference No:- TGS0283212

Expected delivery within 24 Hours