top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Display employee number and total salary for each employee in Oracle?

+1 vote
303 views
Display employee number and total salary for each employee in Oracle?
posted Jun 9, 2015 by Suchithra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Select empno, sal+comm from emp;

answer Jun 11, 2015 by Shivaranjini
Similar Questions
+1 vote

How we can get nth max salary from Employee Table (EMP_ID, Salary)

Emp_id salary
1 1000
3 2000
4 16000
2 10000
7 19000
8 12000

e.g. for 3rd max salary, salary is 12000 so answer will be emp_id : 8

...