DBMS PPT6
DBMS PPT6
Syntax
Select count( [distinct] attribute list )
From table_name
where condition
Find the number of different values on the attribute Salary for all
the rows in Employee:
Query 1 : 8
Query 2 : 6
Result:
select FirstName,Surname,Salary
from Employee
where Dept = ‘Administration’