//returns the total number of values SELECT COUNT(name) FROM employee;
SELECT COUNT(IF( `column` = 1, `column`, NULL)) as total
Select Count(*) from Count_test.dbtest ;
SELECT COUNT(ID) As Total FROM demo