I have a dataset with a column of ids (e.g.)
ID
1
2
3
3
3
4
4
5
I want to return the count of the rows where an id only appears once. For example, from the above table the query would return count = 3 as only ID 1, 2 and 5 appear once.
I have a dataset with a column of ids (e.g.)
ID
1
2
3
3
3
4
4
5
I want to return the count of the rows where an id only appears once. For example, from the above table the query would return count = 3 as only ID 1, 2 and 5 appear once.
Copyright © 2021 Jogjafile Inc.
This query:
returns all the
ids that you want to count, so count them like this:See the demo.