如何得到如下结果(相同的ID,name ,不同的MEmo,other,取第一条记录),如下 select ID,Name=max(Name),Memo=max(Memo),other=max(other)from 表group by id 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select [ID], [Name], max(Memo) as Memo, max(other) as other from 表 group by [id],[name] 求助 求帮忙解答 2条问题..万分感谢 This could be a problem with driver itself,or that the driver is not on the classpath 请教JOIN ,LEFT JOIN ,ALL JOIN 等的区别和联系 求一条授权语句。 怎样查询出各个分组内ID最大的那条记录? 我想根据某一个属性字段作group by的count运算,现在我想把对应的属性值也加到结果集中,请问应该如何做? sql 语句 在线等待 一个sql语句的问题,望各位大虾赐教。 十万火急!!!!!!!!!!!!!!!解决了要多少给多少分 请问谁有订阅于发布的资料 sql server 2000发布于订阅的问题
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货