oracle8.1.6 select version_name from apm_package_versions where package_key = :package_key and version_id = apm_package.highest_version(:package_key)