Learn the cause and how to resolve the ORA-01446 error message in Oracle.
When you encounter an ORA-01446 error, the following error message will appear:
The option(s) to resolve this Oracle error are:
Since the DISTINCT or GROUP BY causes the records in the view to not correspond directly to the underlying physical records, the ROWID values can not be returned.
Either remove the DISTINCT or GROUP BY clause,
Remove the ROWID column from the the SELECT statement.