<query id="getSiteCounterStatus" action="select">
    <tables>
        <table name="counter_site_status" />
    </tables>
    <columns>
        <column name="sum(unique_visitor)" alias="unique_visitor" />
        <column name="sum(pageview)" alias="pageview" />
    </columns>
    <conditions>
        <condition operation="equal" column="site_srl" var="site_srl" default="0" />
        <condition operation="more" column="regdate" var="start_date" notnull="notnull" pipe="and" />
        <condition operation="less" column="regdate" var="end_date" notnull="notnull" pipe="and" />
    </conditions>
</query>
