Tuesday, 10 March 2015

Count Function SQL

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

Share this

0 Comment to "Count Function SQL"

Post a Comment