<query id="isExistsExtraKey" action="select">
    <tables>
        <table name="document_extra_keys" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" pipe="where" />
        <condition operation="notequal" column="var_idx" var="var_idx" filter="number" pipe="and" />
        <condition operation="equal" column="eid" var="eid" notnull="notnull" pipe="and" />
    </conditions>
</query>
