标签: mysql wildcard
SELECT * FROM Customers 城市LIKE' [bsp]%&#39 ;;
http://www.w3schools.com/sql/sql_wildcards.asp
答案 0 :(得分:1)
MySQL的通配符与该网站上记录的通配符不同:
https://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html
对于此问题,您可能希望使用REGEXP运算符:
SELECT * FROM Customers WHERE City REGEXP '^[bsp].*';