数据总览:
下划线可以匹配单个字符,而%是匹配多个字符。
例子
SELECT prod_id, prod_name
FROM products
WHERE prod_name LIKE '__ inch teddy bear';
- 1
- 2
- 3
转载自:https://blog.csdn.net/the_name_of_science/article/details/105366721
数据总览:
下划线可以匹配单个字符,而%是匹配多个字符。
例子
SELECT prod_id, prod_name
FROM products
WHERE prod_name LIKE '__ inch teddy bear';
转载自:https://blog.csdn.net/the_name_of_science/article/details/105366721