[sql] How to fix Ora-01427 single-row subquery returns more than one row in select?