解决方案 »
- mysql-front导入数据库~~~
- 一个简单的问题.100分.快来.答了马上给分.
- 关于实现mysql监控平台的一问题
- 求通过链接服务器调用MYSQL上过程
- 异种数据库(MySQL,SQLite)同步,可否用触发器实现??
- mysql百万数据查询速度过慢
- 求助:Access denied for user 'root'@'localhost' <using password:YES>
- 如何限制MYSQL的CPU使用率??
- 请问怎样从我产生的临时表里再进行查询?急!谢谢!
- mysql正则表达式如何匹配GBK中文
- 数据库设计与应用开发
- MySQL 怎么做 二维统计?如何 将列内的数据求和,行内的数据求和
create PROCEDURE pro_select_reply(in id int)
BEGIN
select t3.topocid,t3.replyid,t3.other from topic t2, reply t3
where t2.topicid in
(select topicid from topic ,interest t1 where title like CONCAT('%',t1.context,'%') and t1.userid=id ) and t2.topicid=t3.topocid ORDER BY t3.replyid desc;
end;