<query id="getPollLog" action="select">
    <tables>
        <table name="poll_log" />
    </tables>
    <columns>
        <column name="count(*)" alias="count"/>
    </columns>
    <conditions>
        <condition operation="equal" column="poll_srl" var="poll_srl" />
        <group pipe="and">
            <condition operation="equal" column="member_srl" default="0" var="member_srl" />
            <condition operation="equal" column="ipaddress" var="ipaddress" default="ipaddress()" pipe="or" />
        </group>
    </conditions>
</query>
