The LIKE
command is used in a WHERE clause to search for a specified pattern in a column.
You can use two wildcards with LIKE
:
The following SQL selects all customers with a CustomerName starting with "a":
The following SQL selects all customers with a CustomerName ending with "a":
The following SQL selects all customers with a CustomerName that have "or" in any position:
The following SQL statement selects all customers with a CustomerName that starts with "a" and are at least 3 characters in length:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!