Division operation in Netezza when using external data