It will count all rows in that column except null value.
Syntax
SELECT COUNT(columnname) FROM tablename WHERE condition;
Example
SELECT COUNT(price) AS countprice FROM products;
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.