|
- SELECT /*+ NOREWRITE */ c.cust_last_name,
- c.cust_credit_limit,
- SUM(amount_sold) AS dollar_sales
- FROM sales s, customers c
- WHERE s.cust_id= c.cust_id
- GROUP BY c.cust_last_name,
- c.cust_credit_limit
- ORDER BY 1;
-
- select * from dba_dimensions d where d.owner='SH';
- select * from dba_dim_hierarchies dh where dh.dimension_name='CUSTOMERS_DIM';
- select * from dba_dim_child_of dco where dco.hierarchy_name='GEOG_ROLLUP';
复制代码
|
|