title regexp $key or body regexp $key or text regexp $key
如何获知是哪个或哪几个字段搜索到的结果
如何获知是哪个或哪几个字段搜索到的结果
解决方案 »
- Windows下多mysql安装后通过控制台总是启动其中一个的问题
- mysql字符界面使用问题
- 一个很简单的存储过程,大家帮我看看错在哪里了
- 如何将access的数据导入到mysql里?
- mysql安全漏洞,,,急急急!!!
- 怎样在刚装好的mysql上运行命令,知道我的系统安装成功(redhat7.2)
- 关于建立约束
- mysql在linux下安装,请问怎么卸载呀,我想重新装
- 请问Mysql不能输入繁体的“餐”是由于什么原因造成的?怎么解决?
- MYSQL存储过程里面有select赋值语句时怎么返回只最后结果集
- mysql的on与using语句怎么用,请详细说明
- autocommit与事务的隔离级别
from xxx
where title regexp $key or body regexp $key or text regexp $key
from xxx
where title regexp $key
uinon all
select 2,*
from xxx
where body regexp $key
union all
select 3,*
from xxx
where text regexp $key
from xxx
where title regexp $key
uinon all
select 'body',*
from xxx
where body regexp $key
union all
select 'text',*
from xxx
where text regexp $key