group by的问题 select uid maxid,name from $tbl group by gender having max(uid)unionselect COUNT(uid) mtotal from $tbl group by gender 这样应该就可以了吧! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from (select a.gender, count(a.uid),max(a.uid) as m from test a join test b on a.uid=b.uid group by gender) c left join test d on c.m=d.uid; 快愁死我了,查了一天的资料也没做出来 不想要客人知道我产品图片的路径,但是要给客户下载图片。 LUNIX 急!!!!http://localhost/?action=ask|ssss|281942|cn|1731|1731 如何实现的呢?????? 有没有分页的函数呢? 看了几天框架,有点总结... 如何将php运行模式从模块换成cgi? 关于猫朴的一个QQ邀请朋友功能,如何实现的? 为什么我的mysql只能用localhost,而不能用 ip (比如:210.65.251.11)来连接?? 新手请教一个简单问题:在PHP中如何实现VALIDATA(验证)的功能? 有关表单在不同网页传递的问题 超难问题:gmail 消息 功能实现(Web 网页聊天)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货