Database: cre_Doc_and_collections
Question: What are the ids of the dcouments that have between 2 and 4 related documents and how many related items are there?
SQL:
SELECT Document_Object_ID , count(*) FROM Document_Subset_Members GROUP BY Document_Object_ID HAVING count(*) BETWEEN 2 AND 4;