I\'m not sure if this is possible but I want to count the number of unique value in a table. I know to count the number of unique folderIDs I do:
select count(f
select count(*) from ( select distinct folderid, userid from folder )