<query id="updateVotedCount" action="update">
    <tables>
        <table name="comments" />
    </tables>
    <columns>
        <column name="voted_count" var="voted_count" notnull="notnull" />
    </columns>
    <conditions>
        <condition operation="equal" column="comment_srl" var="comment_srl" filter="number" notnull="notnull" />
    </conditions>
</query>
