Database: cre_Doc_and_collections
Question: Which document has least number of related 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 ORDER BY count(*) ASC LIMIT 1;