Difference between revisions of "Manuals/calci/DISTINCT"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
*[[Manuals/calci/DISTINCTSET| DISTINCTSET]] | *[[Manuals/calci/DISTINCTSET| DISTINCTSET]] | ||
*[[Manuals/calci/DIFFERENCE| DIFFERENCE]] | *[[Manuals/calci/DIFFERENCE| DIFFERENCE]] | ||
− | |||
− | |||
==References== | ==References== |
Revision as of 14:08, 18 May 2017
DISTINCT ()
Description
- This function shows the distinct values from the given array.
- In ,for the parameter there can be any set of values or any strings.
- This statement is used to return only distinct (different) values.
- Suppose in the given values,it may contain many duplicate values and sometimes there is need of any different (distinct) values.
- The DISTINCT keyword can be used to return only distinct (different) values.
Examples
- DISTINCT("Bradley", "Doyle", "Doyle", "Doyle","Arthur") = Bradley Doyle Arthur
- DISTINCT(30,23,65,10,0,-5,30,65,0) = 0 10 23 30 65 -5
- DISTINCT("m","a","l","a","y","a","l","a","m") m a l y