<query id="getLatestPackage" action="select">
    <tables>
        <table name="autoinstall_packages" alias="packages" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
    </conditions>
    <navigation>
        <index var="sort_index" default="updatedate" order="desc" />
        <list_count var="list_count" default="1" />
        <page_count var="page_count" default="10" />
        <page var="page" default="1" />
    </navigation>
</query>
