<query id="getInstalledPackages" action="select">
    <tables>
        <table name="ai_installed_packages" alias="installed" />
        <table name="autoinstall_packages" alias="package" />
    </tables>
    <columns>
        <column name="installed.*" />
		<column name="path" />
    </columns>
    <conditions>
        <condition operation="in" column="installed.package_srl" var="package_list" notnull="notnull" />
		<condition operation="equal" column="installed.package_srl" default="package.package_srl" pipe="and" />
    </conditions>
</query>
