Database: cre_Doc_and_collections
Question: Which document has between 2 and 4 number of documents ? List the document id and the number of related documents .
SQL:
select document_object_id , count(*) from document_subset_members group by document_object_id having count(*) between 2 and 4;