怎样写这个SQL语句? select left(groupid,2) as column1,sum(count) from table group by left(groupid,2) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select substring(groupid,1,2) as column1 sum(count)group by column1 select substring(groupid,1,2) as column1, sum(count) as sum(count) from tablegroup by substring(groupid,1,2) 求一条sql语句,关联3个表格查询 表中有100条记录,每次取10条,怎么实现???????? 表a和表b中的值如下,我想得到如下结果? 求SQL语句 求一SQL,数据区间判断。。。。。。。。。。。。。。 怎样用SQL语句得到数据库中如下的对象的定义或值? 为什么数据库连接不上?谢谢答复! 请大家帮帮忙,这个存储过程错误我搞了一上午没搞定??? delphi问题:如何将excel表格中的数据导入sql 为什么数据库的复制功能设置完却没反应? 怎样写这个SQL语句? 新装了SQL Server 和MS.net出现的问题,请问在哪里设置
group by column1
group by substring(groupid,1,2)