① 按天、月做统计,需要每天的走势变化。 sql查询到每天(每月)的值为之前所有值的和 实现如下: 通过op_time与a.op_time比较实现 select DAY(op_time),(select sum(price) from t_margin_profit where day(op_time)<=day(a.op_time) and year(op_time) = '2016'
Oracle数据库精讲与疑难解析 Kyte T. - Expert Oracle Database Architecture - 9i and 10g Programming Techniques and Solutions (2005).pdf: http://www.t00y.com/file/59399428 Lakshman B. - Oracle 9i PL_SQL - A Deve