SELECT
(
 SELECT count(1) from `cti_interchringlen` where TimeLens > 0 and TimeLens<= 4 and `Date`='2012-01-12' and  AgentName  ='1004' order by count(1) desc
) as '[0-4]',
(
 SELECT count(1 ) from `cti_interchringlen` where TimeLens > 4 and TimeLens<= 6 and `Date`='2012-01-12' and  AgentName  ='1004'
) AS '[4-6]',
(
 SELECT count(1) from `cti_interchringlen` WHERE TimeLens > 6 and TimeLens<= 8 and `Date`='2012-01-12' and  AgentName  ='1004'
 )AS '[6-8]'

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-11-13
  • 2021-11-13
  • 2021-11-13
  • 2021-04-30
  • 2021-08-20
  • 2021-09-28
猜你喜欢
  • 2021-11-01
  • 2021-04-25
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2021-11-29
相关资源
相似解决方案