guestname表
ID name xfnum(消费次数) xfmoney(总的消费金额)
1 张三 5 2000
2 里斯 6 500
3 李四 7 710
平均每次消费金额大于100的客户有那些select * from guestname having(xfmoney/xfnum)>100
这样对吗
ID name xfnum(消费次数) xfmoney(总的消费金额)
1 张三 5 2000
2 里斯 6 500
3 李四 7 710
平均每次消费金额大于100的客户有那些select * from guestname having(xfmoney/xfnum)>100
这样对吗
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货