<query id="getCounterLog" action="select">
    <tables>
        <table name="counter_log" />
    </tables>
    <columns>
        <column name="count(*)" alias="count"/>
    </columns>
    <conditions>
        <condition operation="equal" column="site_srl" var="site_srl" default="0" pipe="and" />
        <condition operation="equal" column="ipaddress" var="ipaddress" pipe="and" />
        <condition operation="like_prefix" column="regdate" var="regdate" notnull="notnull" pipe="and" />
    </conditions>
</query>
