Can somebody explain why a standalone count(*) returns 1?
postgres=# select count(*);
count
-------
1
(1 row)I agree it's an odd thing for someone to query, but I feel it should return 0, and not 1. -- Gurjeet Singh http://gurjeet.singh.im/
Can somebody explain why a standalone count(*) returns 1?
postgres=# select count(*);
count
-------
1
(1 row)I agree it's an odd thing for someone to query, but I feel it should return 0, and not 1. -- Gurjeet Singh http://gurjeet.singh.im/