Select * from book where bookname like "%关键字%" ------解决方案-------------------- Select * from book where bookname like "%JAVAX%"
没有含有javax的bookname 当然无记录可显示了 ------解决方案-------------------- 你这个逻辑本来就反过来了,输入:"java","ja","ava"的时候出来"javax"还说得过去。你类似的需求可以看看:
http://blog.csdn.net/maco_wang/article/details/6254963