Too many aggregates or derived columns in query Explanation: Your SQL query has more than 255 aggregate functions or has a derived table with more than 255 columns. SQL uses an Oracle Rdb facility that is limited to this number of instances. User Action: Re-write the query to simplify the expression by using a view or views to reduce the complexity of this query expression.