<query id="isAddedFriend" action="select">
    <tables>
        <table name="member_friend" />
    </tables>
    <columns>
        <column name="count(*)" alias="count" />
    </columns>
    <conditions>
        <condition operation="equal" column="member_srl" var="member_srl" notnull="notnull" />
        <condition operation="equal" column="target_srl" var="target_srl" pipe="and" notnull="notnull" />
    </conditions>
</query>
