LIKE operator is used to filter Records for a specified pattern in a column.
Syntax:
SELECT column_name(s)
FROM table_name
WHERE column_name LIKE pattern;
Use:
Syntax:
SELECT column_name(s)
FROM table_name
WHERE column_name LIKE pattern;
Use:
SELECT * FROM Persons
WHERE Name LIKE 's%';
Above query will display All those Person whose name Starts with 's'.
No comments:
Post a Comment