Oracle Error QSM-02007: multiple instances of the same table or view

Oracle Error Message

QSM-02007: multiple instances of the same table or view

Reason for the Error

The capability in question is not supported when the same table or view occurs more than once in the FROM list.

Solution

Re-phrase the query to avoid multiple instances of the same table. For instance,