acname actype amount
ac1 credit 300
ac2 credit 4000
ac1 debit 4000
ac2 debit 455
ac1 credit 500
how to get sum of credit and sum of debit for each account
Answer Posted / amit kumar
select sum(amount) amt , acname, actype from table group by
acname , actype
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to define a sub function?
What is bind variable in oracle 11g?
How to convert times to characters in oracle?
How to create lov dynamically at runtime & attach to text field?
What is a trigger and what are its types in oracle?
How to assign query results to variables?
what is dynamic SGA and static SGA
What is a cursor in oracle?
How to apply filtering criteria at group level in oracle?
How to update a table row with a record?
What are the various oracle database objects?
Is java required for oracle client?
What is rich query?
Explain the features of oracle?
What is a database schema in oracle?