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
What is a synonym? What are its various types?
What is background process in Oracle?
Why does Oracle not permit the use of PCTUSED with indexes?
What is literal?
Is it possible to insert comments into sql statements return in the data model editor ?
What are the various constraints used in oracle?
How to connect to oracle using service name instead of sid?
What is the oracle implicit cursor?
defination of bitmap index
Which is better Oracle or MS SQL? Why?
How to export your connection information to a file?
What is recovery manager in Oracle?
How to do a full database export?
What is SQL Tuning Advisor in Oracle?
What is the difference between 10g OEM and 11g OEM?