0 votes
in SQLite by
What is the usage of LIKE operator with WHERE clause?

1 Answer

0 votes
by

The LIKE operator is used to match text values against a pattern using wildcards. It uses two wildcards % and _ with string for matching with input.

Syntax:

SELECT FROM table_name    

WHERE column LIKE 'XXXX%'   

SELECT FROM table_name    

WHERE column LIKE 'XXXX_'   

...