sql 语句 查询两个字段都相同的方法

时间:2015-01-12 11:24:21   收藏:0   阅读:280

这是替代方法 先使用着

 

select * from ofgroup where groupId in (select groupId from ofgroup where  uid =‘".$_GET[‘value‘]."‘ and useraid=‘0‘)

 

 

groupid定位死 就显示一个 与它对应的也是相同的

 

 

每个人的清况不一样 sql语句也大有区别

原文:http://www.cnblogs.com/hellowzd/p/4217944.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!