Question about neasted queries [message #104576] |
Thu, 02 December 2004 20:16 |
Vishal V. Brahmakar
Messages: 1 Registered: December 2004
|
Junior Member |
|
|
Consider the employees table is there with various manager_id, job_id. What wolud be the soln for the following one.
Write a query to display the following for those employees whose manager ID is less than 120:
a)manager ID
b)Job ID & total salary for every job ID for employees who report to the same manager.
c)Total salary of those managers
d)Total salary of those managers, irrespective of job IDs
|
|
|
|