Pages

Wednesday, January 19, 2011

DISTINCT

DISTINCT
--==============================================[ DISTINCT ]====================================================================
--The SQL DISTINCT clause is used together with the SQL SELECT keyword, to return
--a dataset with unique entries for certain database table column.

--Distinct (to see different surnames in lastname column)
SELECT DISTINCT LastName
FROM Person.Contact

No comments:

Post a Comment