Wednesday, October 10, 2012

how to use distinct key word in sql


The DISTINCT keyword eliminates / filters out duplicate rows from the results of a SELECT statement.
distinct key word 
select count(employeeeid) from orders
select count(distinct employeeid) from orders

this is very helpfull query from me you


No comments:

Post a Comment