分组求行数

SELECT  DateTime,AgentName  ,Count(SessionId)as DayWorkSum ,1 as DayWork  FROM  cti_record WHERE Date ='2012-03-04' and AgentName in (1006,1013 )
group by AgentName

 

相关文章:

  • 2021-11-14
  • 2021-06-24
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-28
  • 2021-07-31
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
相关资源
相似解决方案