****************求一SQL语句****************** 有一个表两个字段:ID 与 Count ID 可重复:Count 可重复:求:ID不重复..Count 最大值原: 1 10 2 20 1 100 2 200 1 5 2 14求: 1 100 2 200 -----求最大值 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select id,(select max(count) as count1 from table table1 where table1.id=id) from table group by id不知道行不行 select id, max(count) as count from tbl group by id select id, max(count) as count from tbl group by id---------------------------------------------------可以吧.. select id,max(Count)as Totle from 表名 group by id select distinct id, Count from users where Count = (select max(Count) from users) 看错题意了...-_-select max(count), id from users group by id 如何能让web打开一个网页不读body里的事件呢? 请教一个问题,谢谢赐教! VS 2008调试问题 在C#中如何实现在两个窗体间进行变量传递 电影票 选座 的方法 网站 C#开发 急急急!!! VSTA2013有没有,找了半天? 请问模拟键盘输出的时候该怎么处理特殊键? c#有没有java那样的JDK开发文档可以查阅啊 急问:Windows登录的域用户验证问题 SQL 解析XML报错 在线求大神 一个奇怪的问题 Excel 数据查找问题.为什么只能建一个 LEFT JOIN 关系,多个会报操作符丢失
不知道行不行
---------------------------------------------------
可以吧..
select max(count), id from users group by id