日期:2014-05-17  浏览次数:20429 次

请大神们帮忙:关于字符串的匹配
List the names of customers on streets with names ending in ‘Hill’;

然后我select customer_name from customer where customer_street like '%Hill';
但是没有找到内容,但是我select * from customer可以看见是存在customer_street以Hill结尾的条目
这是为什么啊?
然后我又去试其他的表,有些可以找到一条,但是明明可以找到好几条的,所以我很疑惑。求各位大神帮助

------解决方案--------------------
try


where rtrim(customer_street) like '%Hill'