How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
No Answer is Posted For this Question
Be the First to Post Answer
How can I see all tables in sql?
What is package in pl sql?
what is difference between "Primary key" and "Unique key"?
What is meant by Materialized view?
2 Answers iGate, Marlabs, Polaris,
How do temporal tables work?
Why use triggers in sql?
What is sqlservr exe?
difference between anonymous blocks and sub-programs.
What is difference between mysql and postgresql?
What are sql built in functions?
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.
What is a subquery in sql?