select '个数:' || count(9) as 设置情况, count(9) as count
from a谢谢!

解决方案 »

  1.   

    跟 count(1),count(*),都是一样的,计数,因为count函数要有个参数,所以随便写个就行了
      

  2.   

    对,||这个在oracle里是连接字符串的意思.
      

  3.   

    select '个数:' || count(9) as 设置情况, count(9) as count from people;
     
    设置情况                                           COUNT
    --------------------------------------------- ----------
    个数:7                                                 7