Count Function:- This function is used to count the number of rows returned in a statement.
Syntax:- The syntax for sql count is:
Select count(expression) from tabls where conditions;
sql > select count(department_id)" No_of_employees" from employees;
No_of_employees
----------------
107
Syntax:- The syntax for sql count is:
Select count(expression) from tabls where conditions;
sql > select count(department_id)" No_of_employees" from employees;
No_of_employees
----------------
107
0 Comment to "Count Function SQL"
Post a Comment