<query id="getSdocumentCount" action="select">
    <tables>
        <table name="documents" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
        <condition operation="equal" column="category_srl" var="category_srl" />
        <group pipe="and">
            <condition operation="like" column="title" var="s_title" />
            <condition operation="like" column="content" var="s_content" pipe="and" />
            <condition operation="like" column="user_name" var="s_user_name" pipe="and" />
            <condition operation="equal" column="member_srl" var="s_member_srl" pipe="and" />
            <condition operation="like_prefix" column="ipaddress" var="s_ipaddress" pipe="and" />
            <condition operation="like_prefix" column="regdate" var="s_regdate" pipe="and" />
        </group>
    </conditions>
</query>
