How to fix the Oracle error QSM-02142: COUNT(*) is not present in the select list?

In this post, you’ll learn more about the Oracle ErrorQSM-02142: COUNT(*) is not present in the select list with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

QSM-02142: COUNT(*) is not present in the select list

Reason for the Error QSM-02142: COUNT(*) is not present in the select list

The materialized view query omits COUNT(*) from the select list.

How to fix the Error QSM-02142: COUNT(*) is not present in the select list ?

You can fix this error in Oracle by following the below steps

Add COUNT(*) to the select list.

Tags :

Leave Your Comment