<query id="getSiteLogDate" action="select">
    <tables>
        <table name="counter_status" />
    </tables>
    <columns>
        <column name="min(regdate)" alias="regdate" />
    </columns>
    <conditions>
        <condition operation="equal" column="site_srl" var="site_srl" default="0" pipe="and" />
        <condition operation="excess" column="regdate" default="1" notnull="notnull" pipe="and" />
    </conditions>
</query>
