COUNT() function return number of records exists in table
COUNT() Syntax
SELECT COUNT(ColumnName or *) FROM YourTableName
Example
SELECT COUNT(ID) FROM City
COUNT() Syntax
SELECT COUNT(ColumnName or *) FROM YourTableName
Example
SELECT COUNT(ID) FROM City