serial name littlename
1 apple apple-1
2 pear pear1
.
.
.
这样类似的数据下去,我现在想实现的是,当我的keyword为apple-1的时候,则可以搜索出来,如果我的keyword为apple1的时候,也可以把这条信息搜索出来,请问该怎么做呢?这个keyword该如何定义呢?
Select * from tablename where littlename="&keyword&"
谢谢
...全文
21912打赏收藏
关于关键字搜索
请看我的数据库 tablename serial name littlename 1 apple apple-1 2 pear pear1 . . . 这样类似的数据下去,我现在想实现的是,当我的keyword为apple-1的时候,则可以搜索出来,如果我的keyword为apple1的时候,也可以把这条信息搜索出来,请问该怎么做呢?这个keyword该如何定义呢? Select * from tablename where littlename="&keyword&" 谢谢