Bo's Oracle Station

查看: 1295|回复: 0

第35次:2014-10-15

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2014-10-16 11:10:49 | 显示全部楼层 |阅读模式
  1.   SELECT /*+ NOREWRITE */ c.cust_last_name,
  2.     c.cust_credit_limit,
  3.     SUM(amount_sold) AS dollar_sales
  4.   FROM sales s, customers c
  5.   WHERE s.cust_id= c.cust_id
  6.   GROUP BY c.cust_last_name,
  7.     c.cust_credit_limit
  8.   ORDER BY 1;
  9.   
  10.   select  * from dba_dimensions  d where d.owner='SH';

  11. select  * from dba_dim_hierarchies   dh where dh.dimension_name='CUSTOMERS_DIM';

  12. select  * from dba_dim_child_of  dco where dco.hierarchy_name='GEOG_ROLLUP';
复制代码


MODULE-bcp-outofdate.zip

2.36 MB, 下载次数: 340

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-5 21:07 , Processed in 0.042787 second(s), 27 queries .

快速回复 返回顶部 返回列表