write sql query following source are
EmpID, Salary
101 1000
102 2000
103 3000
I want the output format like following
empid,sal,composite_sal
101 1000 1000
102 2000 3000
103 3000 6000
Answer Posted / niru
select empid,sal,sal+lead(nvl(sal,0) from emp_det
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?
What is ordinary table in oracle?
In oracle there is column command, how will you explain that?
How to use values from other tables in update statements using oracle?
What is the data pump import utility?
What is a dead lock in oracle?
How to execute a stored procedure in oracle?
Explain the use of rows option in imp command.
Explain oracle insert into command?
What is materialized view in Oracle?
What will be the syntax to find current date and time in format "yyyy-mm-dd"?
How to create a new table in oracle?
What privilege is needed for a user to create tables in oracle?
What is translate in oracle?
What is a table index in oracle?