git-svn-id: http://xe-core.googlecode.com/svn/trunk@1351 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-26 08:24:38 +00:00
parent ed9300b6d1
commit caf00ee52d
7 changed files with 63 additions and 21 deletions

View file

@ -0,0 +1,16 @@
<query id="getMonthlyArchivedList" action="select">
<tables>
<table name="documents" />
</tables>
<columns>
<column name="substr(regdate,1,8)" alias="month"/>
<column name="count(*)" alias="count" />
</columns>
<conditions>
<condition operation="in" column="module_srl" var="module_srl" filter="number" />
<condition operation="like_prefix" column="regdate" var="regdate" pipe="and" />
</conditions>
<groups>
<group column="substr(regdate,1,8)" />
</groups>
</query>