test oracle query