@lottie
To group by multiple columns in Oracle, you can simply include multiple columns in the GROUP BY clause of your SQL query.
Here is an example:
1 2 3 |
SELECT column1, column2, COUNT(*) FROM your_table GROUP BY column1, column2; |
In this example, the query will group the results by both column1
and column2
. Make sure to include all the columns you want to group by in the GROUP BY clause.