Oracle中 COUNT(count(*))语法 是统计分组后的总数

oracle 例:select count(count(*)) from s_name group by type

mysql 例:select count(*) from (select count(*) from s_name group by type)

a 注意:

  Oracle这种语法无法在mysql使用

 

相关文章:

  • 2022-12-23
  • 2021-03-31
  • 2021-12-11
  • 2021-11-06
  • 2021-12-08
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
猜你喜欢
  • 2021-08-08
  • 2021-09-17
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案