导航
  • 主页
  • 基础类
  • 应用实例
  • 新技术前沿

求助一条select…… count()……语句

dong8010 2003-12-26 10:32:24
select (office_name and applyuser_office),count(applyuser_office) as o_count from Tbl_ticket where confirm_year='2003' group by applyuser_office
...全文
8 点赞 收藏 4
写回复
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
select office_name+applyuser_office
,count(applyuser_office) as o_count
from Tbl_ticket
where confirm_year='2003'
group by office_name,applyuser_office
回复
victorycyz 2003-12-26
select (office_name + applyuser_office),
count(applyuser_office) as o_count
from Tbl_ticket
where confirm_year='2003'
group by office_name, applyuser_office
回复
gmlxf 2003-12-26

select office_name,applyuser_office,count(1) as o_count
from Tbl_ticket
where confirm_year='2003'
group by office_name,applyuser_office
回复
gmlxf 2003-12-26
select office_name and applyuser_office,count(1) as o_count
from Tbl_ticket
where confirm_year='2003'
group by office_name,applyuser_office
回复
发动态
发帖子
MS-SQL Server
创建于2007-09-28

3.2w+

社区成员

MS-SQL Server相关内容讨论专区
申请成为版主
社区公告
暂无公告