select         sum(case when (t.条件字段='00') then 1 else 0 end)"描述名称1",         sum(case when (t.条件字段='01') then 1 else 0 end)"描述名称2"        from 表名 t 

 

相关文章:

  • 2022-12-23
  • 2021-10-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
猜你喜欢
  • 2022-03-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-08-26
  • 2022-12-23
  • 2021-08-29
相关资源
相似解决方案