<query id="chkDeniedNickName" action="select">
    <tables>
        <table name="member_denied_nick_name" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="nick_name" var="nick_name" />
    </conditions>
</query>
