Can you sum a count in sql?
No Answer is Posted For this Question
Be the First to Post Answer
what are the advantages and disadvantages of views in a database? : Sql dba
what are date and time functions in mysql? : Sql dba
What kind of join is join?
Is sql a backend?
Does varchar need length?
What is difference between cursor and trigger?
When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?
How to Execute a Package in PL/SQL.?
What is mutating trigger?
What operating systems are supported by oracle sql developer?
Whis is not false in primary key?
trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output trans_id trans_date trans_amt debit_credit_indicator 001 JAN 1599 cr no.of trans 2 i want trans_id and trans_date like 'JAN' or 'FEB' etc, trans_amt i want all credit amount - debit amount per each trans_id. and debit_credit_indicator and no.of transactions in a month.