The SQL like clause is used to compare a value to similar values using wildcard operators.
• Whenever you want to find records in a table based on some specific pattern, like operator will filter the documents with the assistance of the wildcard operators, which are % and_ percent symbol.
• It is utilized to uncover any number of characters in the pattern.
• You will only employ the operator in the following way.
• Select * from persons where the first name like a percent.
• Underscore is used to identify a location for any character value.
• In the situation where you want to find the records of the users possessing two characters in the first name like a_, so above query will provide you with records of people having three characters first name starting with a.