0% found this document useful (0 votes)
7 views

Like Operator Description

The document describes the LIKE operator in SQL which allows searching for specific patterns in a field using wildcard characters like % and _. It provides examples of using LIKE to find values starting with, ending with, containing, or having a character in a certain position.

Uploaded by

Vinay Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Like Operator Description

The document describes the LIKE operator in SQL which allows searching for specific patterns in a field using wildcard characters like % and _. It provides examples of using LIKE to find values starting with, ending with, containing, or having a character in a certain position.

Uploaded by

Vinay Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LIKE Operator Description

WHERE CustomerName LIKE 'a%' Finds any values that start with "a"

WHERE CustomerName LIKE '%a' Finds any values that end with "a"

WHERE CustomerName LIKE '%or%' Finds any values that have "or" in any posit

WHERE CustomerName LIKE '_r%' Finds any values that have "r" in the second

WHERE CustomerName LIKE 'a__%' Finds any values that start with "a" and are

WHERE ContactName LIKE 'a%o' Finds any values that start with "a" and end

You might also like