updated oracle test sql