Oracle Query For opening and closing balance [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . hi i have following table and data to get opening and closing balance of every account opening balance required gdate<02-oct-2013 here is my table create table ledger (account_no varchar2(10),gdate date,debit number(8),credit number(8)) insert into ledger (account_no,gdate,debit,credit) values ('10-0001','01-oct