select a.mid,a.manme,a.mmonery from a, b ,b otherb where
a.mid=otherb.mtoid and a.mtoid=otherb.mid
and b.mid=10 and a.mid=b.mtoid order by mmoney DESC
这一部分是确定两个是朋友关系。。
a.mid=otherb.mtoid and a.mtoid=otherb.mid
and b.mid=10 and a.mid=b.mtoid order by mmoney DESC
这一部分是确定两个是朋友关系。。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货