<query id="getMembersGroups" action="select">
    <tables>
        <table name="member_group" alias="a" />
        <table name="member_group_member" alias="b" />
    </tables>
    <columns>
        <column name="a.title" alias="title" />
        <column name="a.group_srl" alias="group_srl" />
        <column name="b.member_srl" alias="member_srl" />
    </columns>
    <conditions>
        <condition operation="equal" column="b.site_srl" var="site_srl" default="0" />
        <condition operation="equal" column="a.group_srl" default="b.group_srl" pipe="and" />
        <condition operation="in" column="b.member_srl" var="member_srls" filter="numbers" notnull="notnull" pipe="and" />
    </conditions>
	<navigation>
		<index var="sort_index" default="a.group_srl" order="desc" />
	</navigation>
</query>
