Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

EXPERIMENT 12

Implementation of OLAP Queries.

Commands-
1) create table locations,sales,products,time with at least 5 records.
2) Execute the CUBE & ROLLUP operator.
Group by Cube-

select * from sales;


select pid,sum(pid) from sales group by cube(pid);

You might also like