<query id="getCategoryDocumentCounts" action="select">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
		<column name="module_srl" />
		<column name="category_srl" />
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="notequal" column="category_srl" default="0" />
    </conditions>
	<groups>
		<group column="module_srl" />
		<group column="category_srl" />
	</groups>
</query>
