Created
November 10, 2009 21:07
-
-
Save fixlr/231267 to your computer and use it in GitHub Desktop.
DSpace: Determine number of collections in a Community (top of 3 tiers)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT count(collection_id) | |
FROM community2collection | |
WHERE community_id = ANY( | |
SELECT child_comm_id | |
FROM community2community | |
WHERE parent_comm_id = 19); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment