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
How to compare dates in oracle sql?
is there a tool to trace queries, like profiler for sql server?
What is the purpose of tables, private synonyms and public synonyms in Oracle?
Is primary key indexed by default in oracle?
What is a trigger oracle?
Explain view?
Explain alias?
How many types of cluster table in Oracle?
Does oracle database need java?
How can we find out the current date and time in oracle?
How to call a stored function with parameters?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
What would you do with an in-doubt distributed transaction?
Are truncate and delete commands same? If so why?
How to define a variable of a specific record type?