Skip to content Skip to sidebar Skip to footer
Showing posts with the label Rollup

Oracle Rollup Function With Multiple Columns

I've a simple query: WITH data(val1, val2, val3) AS ( SELECT 'a' ,'a-details&#… Read more Oracle Rollup Function With Multiple Columns

With Rollup Is Only Producing Nulls

This is what the table looks like 'normally' WorkloadCategory | WorkloadCapacity| WorkloadT… Read more With Rollup Is Only Producing Nulls

Calculating Multiple Averages Across Different Parts Of The Table?

I have the following transactions table: customer_id purchase_date product category … Read more Calculating Multiple Averages Across Different Parts Of The Table?

Oracle Sql - Pivot Table Rows To Column And Use Sub Query In Pivot

Am working on Oracle 12c R1 db and have a sample view with sample data as below: View Name: CUST_HO… Read more Oracle Sql - Pivot Table Rows To Column And Use Sub Query In Pivot

Optimizing Query With Multiple Sums?

I have table products: +----------+-----------+----------+---------+ |family_id |shopper_id |produc… Read more Optimizing Query With Multiple Sums?