<query id="getFriends" action="select">
    <tables>
        <table name="member_friend" alias="friend" />
        <table name="member" alias="member" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="friend.friend_group_srl" var="friend_group_srl" />
        <condition operation="equal" column="friend.member_srl" var="member_srl" pipe="and" />
        <condition operation="equal" column="member.member_srl" var="friend.target_srl" pipe="and" />
    </conditions>
    <navigation>
        <index var="sort_index" default="friend.list_order" order="asc" />
        <list_count var="list_count" default="10" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>
