how to count distinct code example
Example 1: select count of distinct values sql
SELECT COUNT (DISTINCT column-name) FROM table-name
Example 2: sparql count distinct
SELECT ?a (count(distinct ?a) as ?count)
WHERE {
?a ?b ?c
}
SELECT COUNT (DISTINCT column-name) FROM table-name
SELECT ?a (count(distinct ?a) as ?count)
WHERE {
?a ?b ?c
}