0% found this document useful (0 votes)
25 views1 page

Q2 DBMS A

Uploaded by

Lakshay Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views1 page

Q2 DBMS A

Uploaded by

Lakshay Chauhan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

• LIKE clause is used to perform the pattern searching task in SQL.

• LIKE clause searches for a match between the patterns in a query with the pattern in
the values present in an SQL table. If the match is successful, then that particular value
will be retrieved from the SQL table.

Operators for pattern searching -

1. To represent zero, one or more than one character, % (percentage) is used.

mysql> SELECT * FROM employee_details WHERE Name LIKE 'Pr%';

2. To represent a single character _ (underscore) is used.

mysql> SELECT * FROM employee_details WHERE Name LIKE '%ya%';

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy