Oracle SQL依然无可替代--《Mastering Oracle SQL》


天寒地冻,呆在家里又读完了《Mastering Oracle SQL》2nd,发现Oracle的功能还是很强悍,光函数就有两百个,那些面向对象的查询语言很难模拟,特别是SQL2003里针对OLAP的windows function等。
幸好Hibernate3.0也支持SQL了。

**1.报表合计专用的Rollup函数
** 销售报表
广州 1月 2000元
广州 2月 2500元
广州 4500元
深圳 1月 1000元
深圳 2月 2000元
深圳 3000元
所有地区 7500元

Published At
Categories with 数据库类
comments powered by Disqus