How to fix the Oracle error QSM-02145: GROUP BY clause is present but no aggregate functions are used?

In this post, you’ll learn more about the Oracle ErrorQSM-02145: GROUP BY clause is present but no aggregate functions are used with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

QSM-02145: GROUP BY clause is present but no aggregate functions are used

Reason for the Error QSM-02145: GROUP BY clause is present but no aggregate functions are used

A GROUP BY clause is used but no aggregate functions are present in the select list.

How to fix the Error QSM-02145: GROUP BY clause is present but no aggregate functions are used ?

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

Add an aggregate function to the select list.

Tags :

Leave Your Comment