<query id="getDocumentWithEntries" action="select">
    <tables>
        <table name="document_aliases" /> 
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="module_srl" var="module_srl" notnull="notnull" />
        <condition operation="in" column="alias_title" var="entries" notnull="notnull" pipe="and" />
    </conditions>
</query>
