-
Notifications
You must be signed in to change notification settings - Fork 15
Distinct
Ujjwal Gupta edited this page Aug 26, 2019
·
1 revision
Distinct is used to return the unique set of result. Distinct filters the result for all columns together except Primary column, since Primary column will make the result always unique.
Syntax -
select * from Customers where <conditions...> distinct
e.g -
select * from Customers where City='NewYork' distinct