What does “select count(1) from table_name” on any database tables mean?

前端 未结 9 592
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 18:38

When we execute select count(*) from table_name it returns the number of rows.

What does count(1) do? What does 1 signify here

9条回答
  •  一向
    一向 (楼主)
    2020-12-22 19:09

    in oracle i believe these have exactly the same meaning

提交回复
热议问题